mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Quartz.net special special case problem
This commit is contained in:
parent
d709bb5dc2
commit
153f7180be
@ -20,6 +20,10 @@ namespace SqlSugar
|
||||
{
|
||||
SqlSugarClient result = null;
|
||||
var key = _configs.GetHashCode().ToString();
|
||||
if (Task.CurrentId != null)
|
||||
{
|
||||
key= $"{key}Task";
|
||||
}
|
||||
StackTrace st = new StackTrace(true);
|
||||
var methods = st.GetFrames();
|
||||
var isAsync = UtilMethods.IsAnyAsyncMethod(methods);
|
||||
|
Loading…
Reference in New Issue
Block a user