public static void SeedHostDb(AcmStatisticsAbpDbContext 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 DefaultSettingsCreator(AcmStatisticsAbpDbContext context) { this.context = context; }
public DefaultLanguagesCreator(AcmStatisticsAbpDbContext context) { this.context = context; }
public HostRoleAndUserCreator(AcmStatisticsAbpDbContext context) { this.context = context; }
public DefaultEditionCreator(AcmStatisticsAbpDbContext context) { this.context = context; }
public InitialHostDbBuilder(AcmStatisticsAbpDbContext context) { this.context = context; }
public DefaultTenantBuilder(AcmStatisticsAbpDbContext context) { this.context = context; }
public TenantRoleAndUserBuilder(AcmStatisticsAbpDbContext context, int tenantId) { this.context = context; this.tenantId = tenantId; }