mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-30 22:10:22 +08:00
Asynchronous thread optimization
This commit is contained in:
parent
634867d495
commit
46c01827d8
@ -64,6 +64,11 @@ namespace SqlSugar
|
||||
{
|
||||
return false;
|
||||
}
|
||||
var name= method.Name;
|
||||
if (name.Contains("OutputAsyncCausalityEvents"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
Type attType = typeof(AsyncStateMachineAttribute);
|
||||
var attrib = (AsyncStateMachineAttribute)method.GetCustomAttribute(attType);
|
||||
return (attrib != null);
|
||||
|
Loading…
Reference in New Issue
Block a user