From f26e65edf51c3b4d0c0fa387edc3834127aa007a 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:19:19 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1d696fcd3..bcd1da3c6 100644 --- a/README.md +++ b/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() - .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)