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