mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update demo
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user