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