diff --git a/README.md b/README.md index 8578b49f1..f0ffc7a9e 100644 --- a/README.md +++ b/README.md @@ -69,22 +69,19 @@ var list=db.Queryable() //insert by nav db.InsertNav(list) //Finer operation than EFCore's SaveChange - .Include(z1 => z1.SchoolA) - .ThenInclude(z1 => z1.RoomList) + .Include(z1 => z1.SchoolA).ThenInclude(z1 => z1.RoomList) //root->schoola->roomList .Include(z1 => z1.Books) .ExecuteCommand(); //delete by nav db.DeleteNav(it=>it.Id==1) - .Include(z1 => z1.SchoolA) - .ThenInclude(z1 => z1.RoomList) st + .Include(z1 => z1.SchoolA) .ThenInclude(z1 => z1.RoomList) //root->schoola->roomList .Include(z1 => z1.Books) .ExecuteCommand(); //update by nav db.UpdateNav(list) - .Include(z1 => z1.SchoolA) - .ThenInclude(z1 => z1.RoomList) + .Include(z1 => z1.SchoolA) .ThenInclude(z1 => z1.RoomList)//root->schoola->roomList .Include(z1 => z1.Books) .ExecuteCommand(); ```