Initial Commit ...

This commit is contained in:
2024-01-25 04:41:17 +03:30
commit ff4d0d5dcb
51 changed files with 5949 additions and 0 deletions
+7
View File
@@ -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";
}
}
+10
View File
@@ -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;
}
}
+23
View File
@@ -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";
}
}