0
kasem created
Hi
I'm following your tutorial to add a custom data-filter <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Data-Filters">https://aspnetboilerplate.com/Pages/Doc ... ta-Filters</a> I'm using AspNetZero and noticed it's not easy to support this without pulling Abp source and change it there on AbpDbContext.cs : OnModelCreating(DbModelBuilder modelBuilder)
Do you have a better workaround?
Thanks
2 Answer(s)
-
0
You can simply override ShouldFilterEntity and CreateFilterExpression in your DbContext.
-
0
Awesome! thanks a lot