mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 09:44:39 +08:00
Synchronization code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user