Exemplo n.º 1
0
 public UnitOfWork(CursoMvcContext context)
 {
     _context = context;
 }
Exemplo n.º 2
0
 public ProdutosController(CursoMvcContext context)
 {
     _context = context;
 }
 public ItensCarrinhoRepository(CursoMvcContext context)
     : base(context)
 {
 }
Exemplo n.º 4
0
 public Repository(CursoMvcContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
Exemplo n.º 5
0
 public UnitOfWork(CursoMvcContext context)
 {
     _context  = context;
     _disposed = false;
 }
Exemplo n.º 6
0
        // protected CursoMvcContext Db { get => db; set => db = value; }

        public Repository()
        {
            Db    = new CursoMvcContext();
            DbSet = Db.Set <TEntity>();
        }
Exemplo n.º 7
0
 public CategoriasController(CursoMvcContext context)
 {
     _context = context;
 }
Exemplo n.º 8
0
 public ClienteRepository(CursoMvcContext context)
     : base(context)
 {
 }