mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 11:19:15 +08:00
Update SqlSugarScope
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user