Browse Source

-

pull/12/MERGE
sunkaixuan 8 years ago
parent
commit
2b14283fd1
  1. 10
      SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs

10
SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs

@ -58,7 +58,15 @@ namespace SqlSugar
base.Expression = memberAssignment.Expression; base.Expression = memberAssignment.Expression;
base.Start(); base.Start();
} }
else { else if (item is BinaryExpression)
{
base.Expression = item;
parameter.CommonTempData = "simple";
base.Start();
parameter.CommonTempData = null;
}
else
{
Check.ThrowNotSupportedException(item.GetType().Name); Check.ThrowNotSupportedException(item.GetType().Name);
} }
} }

Loading…
Cancel
Save