mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
67e8aa7098
commit
e94d908f15
@ -15,6 +15,7 @@ namespace SqlSugar
|
||||
|
||||
public const string CodeFirst_BigString = "varcharmax,longtext,text,clob";
|
||||
public static string CodeFirst_MySqlCollate{get;set;}
|
||||
public static string CodeFirst_MySqlTableEngine { get; set; }
|
||||
|
||||
public static Func<long> CustomSnowFlakeFunc;
|
||||
public static Func<long> CustomSnowFlakeTimeErrorFunc;
|
||||
@ -34,5 +35,6 @@ namespace SqlSugar
|
||||
public static Type DynamicExpressionParserType;
|
||||
public static object DynamicExpressionParsingConfig;
|
||||
public static Action<ICacheService, string> CacheRemoveByLikeStringFunc { get; set; }
|
||||
public static Guid TableQuerySqlKey { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1681,8 +1681,12 @@ namespace SqlSugar
|
||||
}
|
||||
public static string FieldNameSql()
|
||||
{
|
||||
if (StaticConfig.TableQuerySqlKey!=null&& StaticConfig.TableQuerySqlKey!=Guid.Empty)
|
||||
{
|
||||
return $"[value=sql{StaticConfig.TableQuerySqlKey}]";
|
||||
}
|
||||
return $"[value=sql{UtilConstants.ReplaceKey}]";
|
||||
}
|
||||
}
|
||||
|
||||
internal static object TimeOnlyToTimeSpan(object value)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user