Update ClickHouse

This commit is contained in:
sunkaixuan
2022-08-13 16:03:42 +08:00
parent 74398420c3
commit bf853eac7b
9 changed files with 26 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ namespace SqlSugar.ClickHouse
{
public class ClickHouseExpressionContext : ExpressionContext, ILambdaExpressions
{
public SqlSugarProvider Context { get; set; }
public SqlSugarProvider Context { get; set; } = new SqlSugarProvider(new ConnectionConfig() { });
public ClickHouseExpressionContext()
{
base.DbMehtods = new ClickHouseMethod();
@@ -31,7 +31,7 @@ namespace SqlSugar.ClickHouse
{
get
{
return base.PgSqlIsAutoToLower;
return false;
}
}
public override string GetTranslationTableName(string entityName, bool isMapping = true)