diff --git a/SqlSugar/Entities/ConnectionConfig.cs b/SqlSugar/Entities/ConnectionConfig.cs index 17871f971..59057cdbb 100644 --- a/SqlSugar/Entities/ConnectionConfig.cs +++ b/SqlSugar/Entities/ConnectionConfig.cs @@ -24,15 +24,4 @@ namespace SqlSugar /// public InitKeyType InitKeyType = InitKeyType.SystemTable; } - public enum InitKeyType - { - /// - /// Init primary key and identity key from the system table - /// - SystemTable = 0, - /// - /// Init primary key and identity key from the attribute - /// - Attribute = 1 - } } diff --git a/SqlSugar/Enum/InitKeyType.cs b/SqlSugar/Enum/InitKeyType.cs new file mode 100644 index 000000000..55d487e46 --- /dev/null +++ b/SqlSugar/Enum/InitKeyType.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace SqlSugar +{ + public enum InitKeyType + { + /// + /// Init primary key and identity key from the system table + /// + SystemTable = 0, + /// + /// Init primary key and identity key from the attribute + /// + Attribute = 1 + } +} diff --git a/SqlSugar/SqlSugar.csproj b/SqlSugar/SqlSugar.csproj index 2628342d0..ee2172057 100644 --- a/SqlSugar/SqlSugar.csproj +++ b/SqlSugar/SqlSugar.csproj @@ -62,6 +62,7 @@ +