mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 09:44:39 +08:00
Singleton optimization Job compatibility
This commit is contained in:
@@ -25,7 +25,7 @@ namespace SqlSugar
|
||||
var isAsync = UtilMethods.IsAnyAsyncMethod(methods);
|
||||
if (methods.Length>=0)
|
||||
{
|
||||
foreach (var method in methods.Take(25))
|
||||
foreach (var method in methods.Take(35))
|
||||
{
|
||||
var refType = method.GetMethod()?.ReflectedType;
|
||||
if (refType != null)
|
||||
|
@@ -96,7 +96,7 @@ namespace SqlSugar
|
||||
}
|
||||
if (frames.Length >= 0)
|
||||
{
|
||||
foreach (var method in frames.Take(15))
|
||||
foreach (var method in frames.Take(35))
|
||||
{
|
||||
var refType = method.GetMethod()?.ReflectedType;
|
||||
if (refType != null)
|
||||
|
Reference in New Issue
Block a user