Update SqlSugarScope

This commit is contained in:
sunkaixuan
2023-01-09 19:38:08 +08:00
parent 3ccbcca5ed
commit d443a9d497

View File

@@ -23,7 +23,7 @@ namespace SqlSugar
StackTrace st = new StackTrace(true);
var methods = st.GetFrames();
var isAsync = UtilMethods.IsAnyAsyncMethod(methods);
if (methods.Length>=10)
if (methods.Length>=0)
{
foreach (var method in methods.Take(10))
{