seed-application-data
Installation
SKILL.md
Seed Application Data in ABP
ABP has its own data seed system (not EF Core's). It is modular, database-provider independent (works with EF Core and MongoDB), production-ready, and DI-enabled. Prefer it over EF Core's HasData seeding.
When to Use
- You need to add initial/default data (admin user, roles, lookup tables, demo records) to an ABP app or module.
- You want provider-independent seeding that runs the same way on EF Core and MongoDB.
- You need to seed per tenant, honoring
DataSeedContext.TenantId. - You need to seed data for automated tests.
When Not to Use
- Schema migrations or EF Core
HasDataseeding — use ef-core-integration. - MongoDB collection/index setup — use mongodb-integration.
- Creating tenants or routing them to databases — use configure-multi-tenancy (this skill only writes data into an existing tenant scope).
- Fine-grained unit-of-work sizing beyond
SeedInSeparateUowAsync— use manage-units-of-work.