From ba12acef8c3b2885d2875387f3737ae8d1cdfd9a Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 28 May 2017 10:04:53 +0800 Subject: [PATCH] - --- SqlSugar/Entities/ConnectionConfig.cs | 11 ----------- SqlSugar/Enum/InitKeyType.cs | 19 +++++++++++++++++++ SqlSugar/SqlSugar.csproj | 1 + 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 SqlSugar/Enum/InitKeyType.cs 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 @@ +