Browse Source

Update README.md

SqlSugar5
果糖网 2 years ago
committed by GitHub
parent
commit
f26e65edf5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      README.md

8
README.md

@ -57,14 +57,14 @@ FROM
WHERE
([o].[Id] = @Id0)
```
### Feature2 : Include query
```cs Include Query、Insert、Delete and Update
### Feature2 :Include Query、Insert、Delete 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)

Loading…
Cancel
Save