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