Initial ...
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace xIds.Constants
|
||||
{
|
||||
public struct ConfigurationNodeNames
|
||||
{
|
||||
public const string DB_SEED_NODE_NAME = "DbSeeder";
|
||||
public const string PROVIDER_NODE_NAME = "DbProvider";
|
||||
public const string IDENTITY_NODE_NAME = "IdentityConfiguration";
|
||||
public const string DATA_SERVICE_NODE_NAME = "DataServiceConfiguration";
|
||||
public const string IDENTITY_RESOURCE_NODE_NAME = "IdentityResourceConfiguration";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace xIds.Constants
|
||||
{
|
||||
public struct ConnectionStringNames
|
||||
{
|
||||
public const string IDENTITY_CONNECTION_NAME = "IdentityDb";
|
||||
public const string CONFIGURATION_CONNECTION_NAME = "ConfigurationDb";
|
||||
public const string PRESISTED_GRANTS_CONNECTION_NAME = "PersistedGrantDb";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace xIds.Constants
|
||||
{
|
||||
public struct IdentityMessagesKeys
|
||||
{
|
||||
public const string Terms = "terms";
|
||||
public const string InviteMsg = "user_invite_msg";
|
||||
public const string RegistrationApproveMsg = "registration_approve_msg";
|
||||
public const string RegisteredMsg = "registered_msg";
|
||||
public const string VerificationCodeMsg = "verification_code_msg";
|
||||
public const string ChangePasswordMsg = "change_password_msg";
|
||||
public const string PasswordChangedMsg = "password_changed_msg";
|
||||
public const string NewDeviceLoggedInMsg = "new_device_logged_in_msg";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace xIds.Constants
|
||||
{
|
||||
/// <summary>
|
||||
/// /// Default Pagination Values ...
|
||||
/// </summary>
|
||||
public partial struct XDataServiceConstants
|
||||
{
|
||||
public static int DEFAULT_PAGE_SIZE = 50;
|
||||
public static int MAX_AVAILABLE_PAGE_SIZE = 500;
|
||||
public static int MIN_AVAILABLE_PAGE_SIZE = 20;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace xIds.Constants
|
||||
{
|
||||
public partial class XDbProviderConfigurations
|
||||
{
|
||||
/// <summary>
|
||||
/// Default ConnectionString Name ...
|
||||
/// </summary>
|
||||
public const string DEFAULT_CONNECTION_NAME = "DataConnection";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
namespace xIds.Constants
|
||||
{
|
||||
/// <summary>
|
||||
/// /// Represent Supported DBMS for Managing Data ...
|
||||
/// </summary>
|
||||
public enum XDbProviders
|
||||
{
|
||||
None,
|
||||
MySQL,
|
||||
SQLite,
|
||||
SQLServer,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represent Supported DBMS for Managing Data ...
|
||||
/// </summary>
|
||||
public partial struct ProviderType
|
||||
{
|
||||
public const string MySQL = "MYSQL";
|
||||
public const string SQLite = "SQLITE";
|
||||
public const string SQLServer = "SQLSERVER";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user