예제 #1
0
 public DepartamentoRep(ProdutoDbContext ctx) : base(ctx)
 {
 }
예제 #2
0
 public ProdutoController(ProdutoDbContext dbContext)
 {
     _dbContext = dbContext;
 }
예제 #3
0
 public ProdutosController()
 {
     db = new ProdutoDbContext();
 }
예제 #4
0
 public ProdutoRepository(ProdutoDbContext context)
 {
     this._context = context;
 }
예제 #5
0
 public Repository(ProdutoDbContext ctx)
 {
     _ctx   = ctx;
     _dbSet = _ctx.Set <T>();
 }
예제 #6
0
 public ProdutoRep(ProdutoDbContext ctx) : base(ctx)
 {
 }
예제 #7
0
 public ProdutosController()
 {
     //instaância do contexto
     db = new ProdutoDbContext();
 }
예제 #8
0
 public ProdutoDal(ProdutoDbContext dbContext)
 {
     _dbContext = dbContext;
 }