public UnitOfWork(MeseumContext repositoryContext) { _repoContext = repositoryContext; Locations = new LocationRepository(_repoContext); Categories = new CategoryRepository(_repoContext); Postures = new PostureRepository(_repoContext); Inventories = new InventoryRepository(_repoContext); NewsEvents = new NewsEventRepository(_repoContext); }
public InventoryRepository(MeseumContext Context) : base(Context) { }
public LocationRepository(MeseumContext Context) : base(Context) { }
public Repository(MeseumContext Context) { db = Context; }
public CategoryRepository(MeseumContext Context) : base(Context) { }
public NewsEventRepository(MeseumContext Context) : base(Context) { }
public PostureRepository(MeseumContext Context) : base(Context) { }