Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
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.