Synchronization code

This commit is contained in:
sunkaixuan 2023-04-02 11:31:26 +08:00
parent 37fad17b6a
commit 41adeab6b0

View File

@ -38,7 +38,7 @@ namespace SqlSugar
{
if (Context == null) return 0;
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
var result = inertable.GetType().GetMethod("ExecuteReturnIdentityAsync").Invoke(inertable, new object[] { });
var result = inertable.GetType().GetMyMethod("ExecuteReturnIdentityAsync",0).Invoke(inertable, new object[] { });
return await (Task<int>)result;
}
}