会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
绿光
记下学习中遇到的芝麻小事,循序渐进,只为沉淀厚积而薄发。
博客园
首页
新随笔
联系
订阅
管理
2022年7月9日
.net6 EF core 软删除,全局过滤器
摘要: 1、新建interface public interface ISoftDelete { public bool isdeleted { get; set; } } 2、需要使用到软删除的entity要继承这个interface 3、然后在DBContext的OnModelCreating中为每个继
阅读全文
posted @ 2022-07-09 16:26 Cody&
阅读(349)
评论(0)
推荐(0)
编辑
公告