This commit is contained in:
skx 2021-01-22 19:52:40 +08:00
parent cdbf323869
commit 13e8ebeab9

View File

@ -73,6 +73,10 @@ namespace SqlSugar
{
return true;
}
if (name.Contains("ExecuteAsync"))
{
return true;
}
Type attType = typeof(AsyncStateMachineAttribute);
var attrib = (AsyncStateMachineAttribute)method.GetCustomAttribute(attType);
return (attrib != null);