Browse Source

Update exp to sql

pull/40/head
sunkaixuan 1 year ago
parent
commit
328f888609
  1. 2
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs

2
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs

@ -53,7 +53,7 @@ namespace SqlSugar
var type = expression.Type;
var memberName = this.Context.GetDbColumnName(type.Name, memberAssignment.Member.Name);
var item = memberAssignment.Expression;
item = ExpressionTool.RemoveConvert(item);
//Column IsJson Handler
if (memberAssignment.Member.CustomAttributes != null)
{

Loading…
Cancel
Save