diff --git a/Src/Asp.Net/SqlSugar/Realization/Sqlite/DbType.cs b/Src/Asp.Net/SqlSugar/Entities/DbType.cs similarity index 67% rename from Src/Asp.Net/SqlSugar/Realization/Sqlite/DbType.cs rename to Src/Asp.Net/SqlSugar/Entities/DbType.cs index cecb3c341..3e31c1ae5 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Sqlite/DbType.cs +++ b/Src/Asp.Net/SqlSugar/Entities/DbType.cs @@ -7,6 +7,8 @@ namespace SqlSugar { public partial class DbType { + public const string MySql = "MySql"; + public const string SqlServer = "SqlServer"; public const string Sqlite = "Sqlite"; } } diff --git a/Src/Asp.Net/SqlSugar/Realization/MySql/DbType.cs b/Src/Asp.Net/SqlSugar/Realization/MySql/DbType.cs deleted file mode 100644 index c9165e155..000000000 --- a/Src/Asp.Net/SqlSugar/Realization/MySql/DbType.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace SqlSugar -{ - public partial class DbType - { - public const string MySql = "MySql"; - } -} diff --git a/Src/Asp.Net/SqlSugar/Realization/SqlServer/DbType.cs b/Src/Asp.Net/SqlSugar/Realization/SqlServer/DbType.cs deleted file mode 100644 index f19d28ebd..000000000 --- a/Src/Asp.Net/SqlSugar/Realization/SqlServer/DbType.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace SqlSugar -{ - public partial class DbType - { - public const string SqlServer = "SqlServer"; - } -} diff --git a/Src/Asp.Net/SqlSugar/SqlSugar.csproj b/Src/Asp.Net/SqlSugar/SqlSugar.csproj index 85991f1f4..3867a4af0 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugar.csproj +++ b/Src/Asp.Net/SqlSugar/SqlSugar.csproj @@ -75,7 +75,6 @@ - @@ -96,7 +95,7 @@ - + @@ -131,7 +130,6 @@ -