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