Annotations declare membership
[Retain(category, anchor)] puts an entity in a category. Unannotated entities are left alone, and the policy lives next to the type it governs.
Annotate EF Core entities, map categories to rules, and let Cohort preview, sweep and erase rows in PostgreSQL, respecting tenants, holds and the audit trail.
Cohort is a .NET library, not a service. It runs inside your host, against your DbContext, in your database. You own the migration, the rules and the schedule.
Start with Getting Started, then read Retention Rules for how categories, rules and strategies fit together.