果糖网
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
README.md
|
|
@ -64,6 +64,7 @@ var list=db.Queryable<Test>() |
|
|
|
.Includes(x => x.Provinces,x=>x.Citys ,x=>x.Street) //multi-level |
|
|
|
.Includes(x => x.ClassInfo) |
|
|
|
.ToList(); |
|
|
|
|
|
|
|
//insert by nav |
|
|
|
db.InsertNav(list) //Finer operation than EFCore's SaveChange |
|
|
|
.Include(z1 => z1.SchoolA) |
|
|
@ -76,6 +77,7 @@ var list=db.Queryable<Test>() |
|
|
|
.ThenInclude(z1 => z1.RoomList) st |
|
|
|
.Include(z1 => z1.Books) |
|
|
|
.ExecuteCommand(); |
|
|
|
|
|
|
|
//update by nav |
|
|
|
db.UpdateNav(list) |
|
|
|
.Include(z1 => z1.SchoolA) |
|
|
|