mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
rename
This commit is contained in:
parent
db2f1ea7a2
commit
274dd64131
@ -11,7 +11,7 @@ namespace SqlSugar
|
||||
internal object MethodInfos { get; set; }
|
||||
internal SqlSugarProvider Context { get; set; }
|
||||
|
||||
public InsertNavMethodInfo IncludeByNameString(string navMemberName, InsertNavRootOptions updateNavOptions = null)
|
||||
public InsertNavMethodInfo IncludeByNameString(string navMemberName, InsertNavRootOptions insertNavOptions = null)
|
||||
{
|
||||
var type = MethodInfos.GetType().GetGenericArguments()[0];
|
||||
var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(type);
|
||||
@ -20,7 +20,7 @@ namespace SqlSugar
|
||||
Expression exp = UtilMethods.GetIncludeExpression(navMemberName, entityInfo, out properyItemType, out isList);
|
||||
var method = this.MethodInfos.GetType().GetMyMethod("Include", 2, isList)
|
||||
.MakeGenericMethod(properyItemType);
|
||||
var obj = method.Invoke(this.MethodInfos, new object[] { exp, updateNavOptions });
|
||||
var obj = method.Invoke(this.MethodInfos, new object[] { exp, insertNavOptions });
|
||||
this.MethodInfos = obj;
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user