Initial Commit ...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace xDataService.Constants {
|
||||
public partial struct ConfigurationNodeNames {
|
||||
public const string DB_PROVIDER_NODE = "XDBProvider";
|
||||
public const string DATA_SERVICE_NODE = "DataServiceConfiguration";
|
||||
public const string DATA_SERVICE_DB_SEED_NODE = "DbSeeder";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace xDataService.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,23 @@
|
||||
namespace xDataService.Constants {
|
||||
/// <summary>
|
||||
/// Represent Supported DBMS for Managing Data ...
|
||||
/// </summary>
|
||||
public enum XDbProviders {
|
||||
None,
|
||||
MySQL,
|
||||
SQLite,
|
||||
SQLServer,
|
||||
MongoDB,
|
||||
}
|
||||
|
||||
/// <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";
|
||||
public const string MongoDB = "MONGODB";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user