This commit is contained in:
sunkaixuan
2017-05-28 10:04:53 +08:00
parent 5d6601f811
commit ba12acef8c
3 changed files with 20 additions and 11 deletions

View File

@@ -24,15 +24,4 @@ namespace SqlSugar
/// </summary>
public InitKeyType InitKeyType = InitKeyType.SystemTable;
}
public enum InitKeyType
{
/// <summary>
/// Init primary key and identity key from the system table
/// </summary>
SystemTable = 0,
/// <summary>
/// Init primary key and identity key from the attribute
/// </summary>
Attribute = 1
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
public enum InitKeyType
{
/// <summary>
/// Init primary key and identity key from the system table
/// </summary>
SystemTable = 0,
/// <summary>
/// Init primary key and identity key from the attribute
/// </summary>
Attribute = 1
}
}

View File

@@ -62,6 +62,7 @@
<Compile Include="Abstract\DeleteProvider\DeleteableProvider.cs" />
<Compile Include="Abstract\UpdateProvider\UpdateableProvider.cs" />
<Compile Include="Entities\SugarMessageResult.cs" />
<Compile Include="Enum\InitKeyType.cs" />
<Compile Include="Realization\MySql\DbType.cs" />
<Compile Include="Realization\MySql\Core\DbBind\MySqlDbBind.cs" />
<Compile Include="Realization\MySql\Core\SqlBuilder\MySqlBuilder.cs" />