public GenericRepository(ServicioContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
//284 #endregion #region Develop1 = Leo - 287 //288 #region REGION AUXILIAR #endregion //1074 #endregion //public GenericRepository<City> CityRepository //{ // get // { // if (cityRepository == null) // { // cityRepository = new GenericRepository<City>(context); // } // return cityRepository; // } // set // { // cityRepository = value; // } //} //public GenericRepository<Book> BookRepository //{ // get // { // if (bookRepository == null) // { // bookRepository = new GenericRepository<Book>(context); // } // return bookRepository; // } // set // { // bookRepository = value; // } //} //public IAuthorRepository AuthorRepository //{ // get // { // if (authorRepository == null) // { // authorRepository = new AuthorRepository(context); // } // return authorRepository; // } // set // { // authorRepository = value; // } //} public UnitOfWork() { context = new ServicioContext(); }
public CarritoManager(ServicioContext context) { _context = context; }
public ServicioManager(ServicioContext context) { _context = context; }
public CyclesRepository(ServicioContext context) : base(context) { }
public CareersRepository(ServicioContext context) : base(context) { }
public PackManager(ServicioContext context) { _context = context; }