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

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