mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Update demo
This commit is contained in:
@@ -662,7 +662,7 @@ namespace OrmTest
|
|||||||
var res = db.Queryable<Person>().Select(it => new Person()
|
var res = db.Queryable<Person>().Select(it => new Person()
|
||||||
{
|
{
|
||||||
Id = it.Id.SelectAll(),
|
Id = it.Id.SelectAll(),
|
||||||
SexName = it.SexId.GetConfigValue<DataDictionary>("sex"),
|
SexName = "(" + it.SexId.GetConfigValue<DataDictionary>("sex") + ")",
|
||||||
ProviceName = it.SexId.GetConfigValue<DataDictionary>("province"),
|
ProviceName = it.SexId.GetConfigValue<DataDictionary>("province"),
|
||||||
CityName = it.SexId.GetConfigValue<DataDictionary>("city"),
|
CityName = it.SexId.GetConfigValue<DataDictionary>("city"),
|
||||||
}).ToList();//也支持支持写在Where或者Orderby
|
}).ToList();//也支持支持写在Where或者Orderby
|
||||||
|
Reference in New Issue
Block a user