mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update pgsql
This commit is contained in:
@@ -352,6 +352,14 @@ namespace SqlSugar
|
||||
ILambdaExpressions expressionContext = sqlBuilder.QueryBuilder.LambdaExpressions;
|
||||
expressionContext.MappingColumns = this.MappingColumns;
|
||||
expressionContext.MappingTables = this.MappingTables;
|
||||
if (this.Context.CurrentConnectionConfig.MoreSettings != null)
|
||||
{
|
||||
expressionContext.PgSqlIsAutoToLower = this.Context.CurrentConnectionConfig.MoreSettings.PgSqlIsAutoToLower;
|
||||
}
|
||||
else
|
||||
{
|
||||
expressionContext.PgSqlIsAutoToLower = true;
|
||||
}
|
||||
if (this.Context.CurrentConnectionConfig.ConfigureExternalServices != null)
|
||||
expressionContext.SqlFuncServices = this.Context.CurrentConnectionConfig.ConfigureExternalServices.SqlFuncServices;
|
||||
expressionContext.Resolve(joinExpression, ResolveExpressType.Join);
|
||||
|
@@ -126,6 +126,7 @@ namespace SqlSugar
|
||||
copyContext.InitMappingInfo = this.InitMappingInfo;
|
||||
copyContext.RefreshMapping = this.RefreshMapping;
|
||||
copyContext.ParameterIndex = this.ParameterIndex;
|
||||
copyContext.PgSqlIsAutoToLower = this.PgSqlIsAutoToLower;
|
||||
return copyContext;
|
||||
}
|
||||
public ExpressionContext GetCopyContextWithMapping()
|
||||
|
Reference in New Issue
Block a user