apply-data-filters

Installation
SKILL.md

Apply ABP Data Filters

Volo.Abp.Data provides data filters that automatically filter rows when querying the database. Filters are keyed by a marker interface implemented on the entity (ISoftDelete, IMultiTenant, or your own).

When to Use

  • Reading soft-deleted or cross-tenant rows by disabling ISoftDelete / IMultiTenant in an IDataFilter scope.
  • Checking a filter's current state with IsEnabled<TFilter>(), or physically removing a soft-delete row with HardDeleteAsync.
  • Changing whether a filter is enabled by default via AbpDataFilterOptions.
  • Defining a custom marker-interface filter and wiring it for EF Core or MongoDB.

When Not to Use

  • Switching the active tenant context (ICurrentTenant.Change) — that is the multi-tenancy concern, not a data-filter one.
  • Defining a DbContext, repositories, or EF Core migrations — use the ef-core-integration skill.
  • MongoDB DbContext / repository setup — use mongodb-integration.
  • Transaction / Unit of Work boundaries — use manage-units-of-work.
  • Optimistic concurrency — use handle-optimistic-concurrency.
Installs
28
GitHub Stars
32
First Seen
Aug 15, 2026