Update README.md

This commit is contained in:
果糖网
2022-07-17 14:19:19 +08:00
committed by GitHub
parent c15b91904c
commit f26e65edf5

View File

@@ -57,14 +57,14 @@ FROM
WHERE
([o].[Id] = @Id0)
```
### Feature2 : Include query
```cs Include QueryInsertDelete and Update
### Feature2 :Include QueryInsertDelete and Update
```cs
var list=db.Queryable<Test>()
.Includes(x => x.Provinces,x=>x.Citys ,x=>x.Street)
.Includes(x => x.Provinces,x=>x.Citys ,x=>x.Street) //multi-level
.Includes(x => x.ClassInfo)
.ToList();
db.InsertNav(list)
db.InsertNav(list) //Finer operation than EFCore's SaveChange
.Include(z1 => z1.SchoolA)
.ThenInclude(z1 => z1.RoomList)
.Include(z1 => z1.Books)