mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-06 21:58:02 +08:00
SqlSugaScope bug
This commit is contained in:
parent
c8b9466e5b
commit
c2364ccfa1
@ -54,6 +54,7 @@ namespace SqlSugar
|
||||
if (UtilMethods.IsAsyncMethod(item.GetMethod()))
|
||||
{
|
||||
isAsync = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return isAsync;
|
||||
@ -65,6 +66,13 @@ namespace SqlSugar
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (method.DeclaringType != null)
|
||||
{
|
||||
if (method.DeclaringType.GetInterfaces().Contains(typeof(IAsyncStateMachine)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
var name= method.Name;
|
||||
if (name.Contains("OutputAsyncCausalityEvents"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user