From 9a6bac001941c56244cf70e2a3d4bf089a1c1e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=AF=8C=E8=B4=B5?= <2380003452@qq.com> Date: Thu, 29 Dec 2022 13:08:29 +0000 Subject: [PATCH] =?UTF-8?q?=E9=BB=84=E5=AF=8C=E8=B4=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 黄富贵 <2380003452@qq.com> --- ...\210\240\351\231\244\347\254\224\350\256\260.md" | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 "36\351\273\204\345\257\214\350\264\265/12-28-\345\210\240\351\231\244\344\275\234\344\270\232/12-28-\345\210\240\351\231\244\347\254\224\350\256\260.md" diff --git "a/36\351\273\204\345\257\214\350\264\265/12-28-\345\210\240\351\231\244\344\275\234\344\270\232/12-28-\345\210\240\351\231\244\347\254\224\350\256\260.md" "b/36\351\273\204\345\257\214\350\264\265/12-28-\345\210\240\351\231\244\344\275\234\344\270\232/12-28-\345\210\240\351\231\244\347\254\224\350\256\260.md" new file mode 100644 index 0000000..398ebba --- /dev/null +++ "b/36\351\273\204\345\257\214\350\264\265/12-28-\345\210\240\351\231\244\344\275\234\344\270\232/12-28-\345\210\240\351\231\244\347\254\224\350\256\260.md" @@ -0,0 +1,13 @@ +第九课删除笔记 + +软删除:当在表中添加一个bool类型的字段,如果字段true表示删除失败 + +如果字段false表示删除成功 + +软删除过滤器 + +删除单个:context.Remove + +删除多个:context:RemoveRange( ) + + -- Gitee