Browse Source

Add unit test

pull/27/head
sunkaixuan 2 years ago
parent
commit
47738a80c3
  1. 3
      Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCustom012.cs

3
Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCustom012.cs

@ -136,9 +136,10 @@ namespace OrmTest
var list4=db.Queryable<SchoolA>()
.LeftJoin<StudentA>((x, y) => (x.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,
Id="1"
},true).ToList();
}

Loading…
Cancel
Save