mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update split table
This commit is contained in:
parent
158acea695
commit
d03416e78b
@ -215,8 +215,11 @@ namespace SqlSugar
|
||||
{
|
||||
if (!this.Context.DbMaintenance.IsAnyTable(item.Key, false))
|
||||
{
|
||||
this.Context.MappingTables.Add(EntityInfo.EntityName, item.Key);
|
||||
this.Context.CodeFirst.InitTables<T>();
|
||||
if (item.Value != null)
|
||||
{
|
||||
this.Context.MappingTables.Add(EntityInfo.EntityName, item.Key);
|
||||
this.Context.CodeFirst.InitTables<T>();
|
||||
}
|
||||
}
|
||||
}
|
||||
this.Context.Ado.IsEnableLogEvent = isLog;
|
||||
|
Loading…
Reference in New Issue
Block a user