Base solution for your next web application
Open Closed

Execute Seed Data On Creation of Tenant #665


User avatar
0
hasan created

Hello Sir,

Is there anyway to create a Seed Data on Creation of Tenant ?


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    It's possible but not via seed data (because EF seed data works only in migration phase). We already do that for users, roles and permissions of new tenants. See TenantAppService.CreateTenant method.

    Have a nice day.