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