Browse Source

Update SqlBuilderProvider

pull/10/MERGE
sunkaixuna 3 years ago
parent
commit
f2d43011da
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/SqlBuilderProvider.cs

2
Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/SqlBuilderProvider.cs

@ -152,6 +152,7 @@ namespace SqlSugar
{
parameterName = parameterName.Replace(this.SqlTranslationLeft, "_");
}
string oldName = item.FieldName;
item.FieldName = GetTranslationColumnName(item.FieldName);
switch (item.ConditionalType)
{
@ -249,6 +250,7 @@ namespace SqlSugar
default:
break;
}
item.FieldName = oldName;
}
else
{

Loading…
Cancel
Save