|
|
@ -251,6 +251,7 @@ namespace SqlSugar |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.LambdaExpressions.ParameterIndex = clone.QueryBuilder.LambdaExpressions.ParameterIndex; |
|
|
|
var parameters = (expression as LambdaExpression).Parameters; |
|
|
|
var columnsResult = this.Context.EntityMaintenance.GetEntityInfo<TResult>().Columns; |
|
|
|
sql = AppendSelect<T>(sql, parameters, columnsResult, 0); |
|
|
@ -877,6 +878,7 @@ namespace SqlSugar |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.LambdaExpressions.ParameterIndex = clone.QueryBuilder.LambdaExpressions.ParameterIndex; |
|
|
|
var parameters = (expression as LambdaExpression).Parameters; |
|
|
|
var columnsResult = this.Context.EntityMaintenance.GetEntityInfo<TResult>().Columns; |
|
|
|
sql = AppendSelect<T>(sql, parameters, columnsResult, 0); |
|
|
@ -1471,6 +1473,7 @@ namespace SqlSugar |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.LambdaExpressions.ParameterIndex = clone.QueryBuilder.LambdaExpressions.ParameterIndex; |
|
|
|
var parameters = (expression as LambdaExpression).Parameters; |
|
|
|
var columnsResult = this.Context.EntityMaintenance.GetEntityInfo<TResult>().Columns; |
|
|
|
sql = AppendSelect<T>(sql, parameters, columnsResult, 0); |
|
|
@ -2003,6 +2006,7 @@ namespace SqlSugar |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.LambdaExpressions.ParameterIndex = clone.QueryBuilder.LambdaExpressions.ParameterIndex; |
|
|
|
var parameters = (expression as LambdaExpression).Parameters; |
|
|
|
var columnsResult = this.Context.EntityMaintenance.GetEntityInfo<TResult>().Columns; |
|
|
|
sql = AppendSelect<T>(sql, parameters, columnsResult, 0); |
|
|
@ -2582,6 +2586,7 @@ namespace SqlSugar |
|
|
|
return this.Select<TResult>(expression); |
|
|
|
} |
|
|
|
this.QueryBuilder.Parameters = clone.QueryBuilder.Parameters; |
|
|
|
this.QueryBuilder.LambdaExpressions.ParameterIndex = clone.QueryBuilder.LambdaExpressions.ParameterIndex; |
|
|
|
var parameters = (expression as LambdaExpression).Parameters; |
|
|
|
var columnsResult = this.Context.EntityMaintenance.GetEntityInfo<TResult>().Columns; |
|
|
|
sql = AppendSelect<T>(sql, parameters, columnsResult, 0); |
|
|
|