mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-21 19:17:35 +08:00
建表时触发
This commit is contained in:
@@ -28,6 +28,10 @@ namespace SqlSugar
|
||||
#region Public methods
|
||||
public SplitCodeFirstProvider SplitTables()
|
||||
{
|
||||
if (StaticConfig.SplitTableCreateTableFunc != null)
|
||||
{
|
||||
StaticConfig.SplitTableCreateTableFunc();
|
||||
}
|
||||
var result = new SplitCodeFirstProvider();
|
||||
result.Context = this.Context;
|
||||
result.DefaultLength = this.DefultLength;
|
||||
|
@@ -29,6 +29,7 @@ namespace SqlSugar
|
||||
public static Action<ISqlSugarClient> CompleteDbFunc;
|
||||
|
||||
public static Func<List<SplitTableInfo>> SplitTableGetTablesFunc;
|
||||
public static Func<bool> SplitTableCreateTableFunc;
|
||||
|
||||
public static bool Check_StringIdentity = true;
|
||||
public static bool EnableAllWhereIF = false;
|
||||
|
Reference in New Issue
Block a user