mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Synchronous project
This commit is contained in:
@@ -37,6 +37,7 @@ namespace SqlSugar
|
||||
children.AddRange(childs);
|
||||
}
|
||||
}
|
||||
Check.ExceptionEasy(thisPkColumn == null, $"{thisEntity.EntityName}need primary key", $"实体{thisEntity.EntityName}需要主键");
|
||||
InsertDatas(children, thisPkColumn);
|
||||
SetNewParent<TChild>(thisEntity,thisPkColumn);
|
||||
}
|
||||
|
Reference in New Issue
Block a user