public static void SeedHostDb(PhonebookDbContext 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 PhoneEntryRepository(PhonebookDbContext dbContext) { _dbContext = dbContext; }
public DefaultLanguagesCreator(PhonebookDbContext context) { _context = context; }
public PhonebookRepository(PhonebookDbContext context) { db = context; }
public InitialHostDbBuilder(PhonebookDbContext context) { _context = context; }
public CommunicationInfoService(PhonebookDbContext dbContext) : base(dbContext) { _dbContext = dbContext; }
public BaseRepository(PhonebookDbContext context, IRepositoryUoW repositoryUoW) { Context = context; RepoUoW = repositoryUoW; }
public Repository(PhonebookDbContext context) { _context = context; }
public Locator(PhonebookDbContext context) { Context = context; }
public PersonService(PhonebookDbContext dbContext) : base(dbContext) { _dbContext = dbContext; }
public DefaultSettingsCreator(PhonebookDbContext context) { _context = context; }
public DefaultTenantBuilder(PhonebookDbContext context) { _context = context; }
public ReportService(PhonebookDbContext dbContext) : base(dbContext) { _dbContext = dbContext; }
public HostRoleAndUserCreator(PhonebookDbContext context) { _context = context; }
public ContactRepository(PhonebookDbContext context) { _db = context; }
public BaseService( PhonebookDbContext dbContext) { _dbContext = dbContext; this.dbSet = _dbContext.Set <T>(); }
public ContactsController(PhonebookDbContext context) { _context = context; }
public RepositoryUoW(PhonebookDbContext context) { Context = context; }
public TenantRoleAndUserBuilder(PhonebookDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public UserRepository(PhonebookDbContext context) { _db = context; }
public Repository(PhonebookDbContext context, IRepositoryUoW repositoryUoW) : base(context, repositoryUoW) { }
public DefaultEditionCreator(PhonebookDbContext context) { _context = context; }