public static void SeedHostDb(AbpCoreEf6SampleDbContext context) { context.SuppressAutoSetTenantId = true; // Host seed new InitialHostDbBuilder(context).Create(); // Default tenant seed (in host database). new DefaultTenantBuilder(context).Create(); new TenantRoleAndUserBuilder(context, 1).Create(); }
public TenantRoleAndUserBuilder(AbpCoreEf6SampleDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultLanguagesCreator(AbpCoreEf6SampleDbContext context) { _context = context; }
public HostRoleAndUserCreator(AbpCoreEf6SampleDbContext context) { _context = context; }
public DefaultSettingsCreator(AbpCoreEf6SampleDbContext context) { _context = context; }
public DefaultTenantBuilder(AbpCoreEf6SampleDbContext context) { _context = context; }
public InitialHostDbBuilder(AbpCoreEf6SampleDbContext context) { _context = context; }
public DefaultEditionCreator(AbpCoreEf6SampleDbContext context) { _context = context; }