mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +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 const string CodeFirst_BigString = "varcharmax,longtext,text,clob";
|
||||||
public static string CodeFirst_MySqlCollate{get;set;}
|
public static string CodeFirst_MySqlCollate{get;set;}
|
||||||
|
public static string CodeFirst_MySqlTableEngine { get; set; }
|
||||||
|
|
||||||
public static Func<long> CustomSnowFlakeFunc;
|
public static Func<long> CustomSnowFlakeFunc;
|
||||||
public static Func<long> CustomSnowFlakeTimeErrorFunc;
|
public static Func<long> CustomSnowFlakeTimeErrorFunc;
|
||||||
@@ -34,5 +35,6 @@ namespace SqlSugar
|
|||||||
public static Type DynamicExpressionParserType;
|
public static Type DynamicExpressionParserType;
|
||||||
public static object DynamicExpressionParsingConfig;
|
public static object DynamicExpressionParsingConfig;
|
||||||
public static Action<ICacheService, string> CacheRemoveByLikeStringFunc { get; set; }
|
public static Action<ICacheService, string> CacheRemoveByLikeStringFunc { get; set; }
|
||||||
|
public static Guid TableQuerySqlKey { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1681,6 +1681,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public static string FieldNameSql()
|
public static string FieldNameSql()
|
||||||
{
|
{
|
||||||
|
if (StaticConfig.TableQuerySqlKey!=null&& StaticConfig.TableQuerySqlKey!=Guid.Empty)
|
||||||
|
{
|
||||||
|
return $"[value=sql{StaticConfig.TableQuerySqlKey}]";
|
||||||
|
}
|
||||||
return $"[value=sql{UtilConstants.ReplaceKey}]";
|
return $"[value=sql{UtilConstants.ReplaceKey}]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user