Update InsertNav.ThenIncludeByNameString

This commit is contained in:
sunkaixuan
2023-09-11 12:45:48 +08:00
parent b5bbda7754
commit 23b81aa7ec
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ namespace SqlSugar
}
public InsertNavMethodInfo ThenIncludeByNameString(string navMemberName, UpdateNavOptions updateNavOptions = null)
{
var type = MethodInfos.GetType().GetGenericArguments()[0];
var type = MethodInfos.GetType().GetGenericArguments()[1];
var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(type);
Type properyItemType;
bool isList;

View File

@@ -27,7 +27,7 @@ namespace SqlSugar
}
public UpdateNavMethodInfo ThenIncludeByNameString(string navMemberName, UpdateNavOptions updateNavOptions = null)
{
var type = MethodInfos.GetType().GetGenericArguments()[0];
var type = MethodInfos.GetType().GetGenericArguments()[1];
var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(type);
Type properyItemType;
bool isList;