Entityframework core element id contains global reduced columns

I have a column is-deletedfor all tables in sql db. I wanted to know if there is a better way to handle the filter is-deletedglobally instead of putting a filter is-deletedfor each connection in linq in sql when querying db using efcore.

I have connections with 5-8 objects, and including each connection doesn't seem like good practice.

Is there a better template?

+4
source share
1 answer

we were able to solve this problem using this nuget and some Z.EntityFramework.Plus.EFCore settings

https://github.com/zzzprojects/EntityFramework-Plus

0

Source: https://habr.com/ru/post/1671643/


All Articles