mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +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 }
|
Job = new UnitJobClass { Company = a.Company, Work = a.Work }
|
||||||
}
|
}
|
||||||
).ToList();
|
).ToList();
|
||||||
|
Check.Exception(list.First().Job.Company != "1", "unit error");
|
||||||
|
|
||||||
}
|
}
|
||||||
public class Unit06
|
public class Unit06
|
||||||
|
@ -621,7 +621,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
dbColumnName = mappingInfo.DbColumnName;
|
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);
|
asName = this.Context.GetTranslationText(item.Type.Name + "." + propertyName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user