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