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