mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add user test case
This commit is contained in:
parent
0afb2402e8
commit
08e6a3e1ab
@ -39,6 +39,14 @@ namespace OrmTest
|
|||||||
|
|
||||||
}).ExecuteCommand();
|
}).ExecuteCommand();
|
||||||
var list=db.Queryable<UnitCustomeradfafas>().ToList();
|
var list=db.Queryable<UnitCustomeradfafas>().ToList();
|
||||||
|
|
||||||
|
var list2 = db.Queryable<UnitCustomeradfafas>()
|
||||||
|
.Where(it=>it.Address.City== "city2")
|
||||||
|
.Select(it=>new {
|
||||||
|
Street = it.Address.Street
|
||||||
|
}).ToList();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public class UnitAddressadfafa
|
public class UnitAddressadfafa
|
||||||
|
Loading…
Reference in New Issue
Block a user