public static void SeedHostDb(HTODbContext 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 GenericRepository(HTODbContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public DefaultSettingsCreator(HTODbContext context) { _context = context; }
public DefaultLanguagesCreator(HTODbContext context) { _context = context; }
public DefaultEditionCreator(HTODbContext context) { _context = context; }
public EmployeeRepo(HTODbContext context) : base(context) { }
public HostRoleAndUserCreator(HTODbContext context) { _context = context; }
public TenantRoleAndUserBuilder(HTODbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public InitialHostDbBuilder(HTODbContext context) { _context = context; }
public DefaultTenantBuilder(HTODbContext context) { _context = context; }