Browse Source

Update exp to sql

SqlSugar5
sunkaixuan 2 years ago
parent
commit
f68d90eebe
  1. 1
      Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/ExpressionTool.cs

1
Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/ExpressionTool.cs

@ -469,6 +469,7 @@ namespace SqlSugar
additem.ShortName = member.Expression + ""; additem.ShortName = member.Expression + "";
additem.RightName = member.Member.Name; additem.RightName = member.Member.Name;
additem.RightDbName = context.GetDbColumnName(member.Type.Name, additem.RightName); additem.RightDbName = context.GetDbColumnName(member.Type.Name, additem.RightName);
additem.LeftNameName = member.Member.Name;
//additem.Value = ""; //additem.Value = "";
result.Add(additem); result.Add(additem);
} }

Loading…
Cancel
Save