From c15b91904c82f0a56fa771f738367904a029fba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=9C=E7=B3=96=E7=BD=91?= <610262374@qq.com> Date: Sun, 17 Jul 2022 14:17:20 +0800 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 92ce2b68d..1d696fcd3 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,29 @@ WHERE ([o].[Id] = @Id0) ``` ### Feature2 : Include query -```cs Include Query +```cs Include Query、Insert、Delete and Update var list=db.Queryable() .Includes(x => x.Provinces,x=>x.Citys ,x=>x.Street) .Includes(x => x.ClassInfo) .ToList(); + + db.InsertNav(list) + .Include(z1 => z1.SchoolA) + .ThenInclude(z1 => z1.RoomList) + .Include(z1 => z1.Books) + .ExecuteCommand(); + + db.DeleteNav(it=>it.Id==1) + .Include(z1 => z1.SchoolA) + .ThenInclude(z1 => z1.RoomList) st + .Include(z1 => z1.Books) + .ExecuteCommand(); + + db.UpdateNav(list) + .Include(z1 => z1.SchoolA) + .ThenInclude(z1 => z1.RoomList) + .Include(z1 => z1.Books) + .ExecuteCommand(); ``` ### Feature3 : Page query