Browse Source

Add unit test

pull/40/head
sunkaixuan 1 year ago
parent
commit
0d54cda30a
  1. 6
      Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCustom012.cs

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

@ -240,6 +240,12 @@ namespace OrmTest
{
throw new Exception("unit error");
}
var listxxxx2 = db.Queryable<SchoolA>()
.Includes(it => it.RoomList)
.LeftJoin<StudentA>((x, y) => (x.SchoolId == y.SchoolId))
//.LeftJoin<BookA>((x, y, z) => y.SchoolId == y.SchoolId)
.Sum(x=>x.SchoolId);
}
public class UnitView01

Loading…
Cancel
Save