SSW.Rewards.Mobile icon indicating copy to clipboard operation
SSW.Rewards.Mobile copied to clipboard

♻️ API | Add a global 'IsDeleted' query filter

Open matt-goldman opened this issue 2 years ago • 1 comments

We have a couple of entities that have soft delete. We should use a global IsDeleted query filter for these.

matt-goldman avatar Jun 16 '22 23:06 matt-goldman

See https://docs.microsoft.com/en-us/ef/core/querying/filters Will require moving IsDeleted to the base entity Can setup filters as part of entity configurations Filters can be ignored with the IgnoreQueryFilters extension method

wicksipedia avatar Jun 16 '22 23:06 wicksipedia