mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Synchronization code
This commit is contained in:
parent
c78014542c
commit
5c770dc03f
@ -38,7 +38,8 @@ namespace SqlSugar
|
||||
{
|
||||
this.Context.SugarContext.QueryBuilder.QueryableFormats = new List<QueryableFormat>();
|
||||
}
|
||||
this.Context.SugarContext.QueryBuilder.QueryableFormats.Add(new QueryableFormat() {
|
||||
this.Context.SugarContext.QueryBuilder.QueryableFormats.Add(new QueryableFormat()
|
||||
{
|
||||
Format = format + "",
|
||||
PropertyName = asName,
|
||||
Type = type,
|
||||
@ -83,6 +84,12 @@ namespace SqlSugar
|
||||
this.Context.SingleTableNameSubqueryShortName = ps.FirstOrDefault().Name;
|
||||
return;
|
||||
}
|
||||
else if (item is MethodCallExpression&&ExpressionTool.IsVariable(item))
|
||||
{
|
||||
var p = GetNewExpressionValue(item);
|
||||
parameter.Context.Result.Append(this.Context.GetAsString2(asName, p));
|
||||
return;
|
||||
}
|
||||
this.Expression = item;
|
||||
var negateString = string.Empty;
|
||||
if (item.NodeType == ExpressionType.Negate)
|
||||
|
Loading…
Reference in New Issue
Block a user