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