Browse Source

Update unit test

pull/20/head
sunkaixuan 2 years ago
parent
commit
8baf1b3fa7
  1. 5
      Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs

5
Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs

@ -70,6 +70,11 @@ namespace OrmTest
.ExecuteCommand();
var id = db.Queryable<Student_004>().ToList().Last().sid;
var data = db.Queryable<Student_004>()
.Includes(x => x.books)
.Includes(x => x.school_001)
.Where(it=>it.sid==id)
.ToList();
db.DeleteNav<Student_004>(s => s.sid == id)
.Include(it => it.books)
.Include(it=>it.school_001).ExecuteCommand();

Loading…
Cancel
Save