Update demo

This commit is contained in:
sunkaixuan
2022-09-08 12:11:08 +08:00
parent d05b01c74b
commit b6180459a9

View File

@@ -662,7 +662,7 @@ namespace OrmTest
var res = db.Queryable<Person>().Select(it => new Person()
{
Id = it.Id.SelectAll(),
SexName = it.SexId.GetConfigValue<DataDictionary>("sex"),
SexName = "(" + it.SexId.GetConfigValue<DataDictionary>("sex") + ")",
ProviceName = it.SexId.GetConfigValue<DataDictionary>("province"),
CityName = it.SexId.GetConfigValue<DataDictionary>("city"),
}).ToList();//也支持支持写在Where或者Orderby