AggregateRootRepository

This commit is contained in:
2881099
2022-09-02 17:08:36 +08:00
parent ab9db8270d
commit 8162e21ce5
3 changed files with 85 additions and 57 deletions

View File

@@ -36,7 +36,9 @@ namespace FreeSql
var repos = new Dictionary<Type, object>();
try
{
return InsertAggregateRootStatic(_repository, GetChildRepository, entitys);
var ret = InsertAggregateRootStatic(_repository, GetChildRepository, entitys);
Attach(ret);
return ret;
}
finally
{