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