mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update exp to sql
This commit is contained in:
parent
ce877b3411
commit
61862fcde1
@ -22,7 +22,7 @@ namespace OrmTest
|
||||
Job = new UnitJobClass { Company = a.Company, Work = a.Work }
|
||||
}
|
||||
).ToList();
|
||||
|
||||
Check.Exception(list.First().Job.Company != "1", "unit error");
|
||||
|
||||
}
|
||||
public class Unit06
|
||||
|
@ -621,7 +621,7 @@ namespace SqlSugar
|
||||
{
|
||||
dbColumnName = mappingInfo.DbColumnName;
|
||||
}
|
||||
if (shortName != null && shortName.ObjToString().Contains(this.Context.SqlTranslationLeft))
|
||||
if (shortName != null && shortName.ObjToString().Contains(this.Context.SqlTranslationLeft)&&this.Context.IsSingle)
|
||||
{
|
||||
asName = this.Context.GetTranslationText(item.Type.Name + "." + propertyName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user