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