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