Synchronization code

This commit is contained in:
sunkaixuan
2023-09-11 12:46:51 +08:00
parent 23b81aa7ec
commit 3b2e3e8b05
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) 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); var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(type);
Type properyItemType; Type properyItemType;
bool isList; bool isList;

View File

@@ -27,7 +27,7 @@ namespace SqlSugar
} }
public UpdateNavMethodInfo ThenIncludeByNameString(string navMemberName, UpdateNavOptions updateNavOptions = null) 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); var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(type);
Type properyItemType; Type properyItemType;
bool isList; bool isList;