mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Synchronization code
This commit is contained in:
@@ -24,7 +24,7 @@ namespace SqlSugar
|
|||||||
.EnableDiffLogEventIF(_RootOptions?.IsDiffLogEvent == true, _RootOptions?.DiffLogBizData)
|
.EnableDiffLogEventIF(_RootOptions?.IsDiffLogEvent == true, _RootOptions?.DiffLogBizData)
|
||||||
.ExecuteCommand());
|
.ExecuteCommand());
|
||||||
|
|
||||||
|
Check.ExceptionEasy(parentColumn == null, "The one-to-one navigation configuration is incorrect", "一对一导航配置错误");
|
||||||
var ids = _ParentList.Select(it => parentColumn.PropertyInfo.GetValue(it)).ToList();
|
var ids = _ParentList.Select(it => parentColumn.PropertyInfo.GetValue(it)).ToList();
|
||||||
List<TChild> childList = this._Context.Queryable<TChild>().In(thisPkColumn.DbColumnName, ids).ToList();
|
List<TChild> childList = this._Context.Queryable<TChild>().In(thisPkColumn.DbColumnName, ids).ToList();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user