From 6650946e6444d0697ea7672aa8c034458fbfaca0 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, 10 Oct 2021 23:28:04 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e8580647f..b77a9fe10 100644 --- a/README.md +++ b/README.md @@ -152,3 +152,11 @@ db.Queryable((i, o) => i.OrderId == o.Id) //( [i].[OrderId] <> @OrderId0 ) AND ([o].[Name] like '%'+@MethodConst1+'%') ``` + +### Feature7 Insert or update +```cs + var x = Db.Storageable(list2).ToStorage(); + x.AsInsertable.ExecuteCommand(); + x.AsUpdateable.ExecuteCommand(); +``` +