mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Add unit test
This commit is contained in:
@@ -136,9 +136,10 @@ namespace OrmTest
|
|||||||
var list4=db.Queryable<SchoolA>()
|
var list4=db.Queryable<SchoolA>()
|
||||||
.LeftJoin<StudentA>((x, y) => (x.SchoolId == y.SchoolId))
|
.LeftJoin<StudentA>((x, y) => (x.SchoolId == y.SchoolId))
|
||||||
.LeftJoin<BookA>((x,y,z)=>y.SchoolId==y.SchoolId)
|
.LeftJoin<BookA>((x,y,z)=>y.SchoolId==y.SchoolId)
|
||||||
.Select((x,y,z) => new UnitView01()
|
.Select((x,y) => new UnitView01()
|
||||||
{
|
{
|
||||||
Name=x.SchoolName,
|
Name=x.SchoolName,
|
||||||
|
Id="1"
|
||||||
},true).ToList();
|
},true).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user