public RepositoryBase(ProjetoDDDContext context) { Db = context; dbSet = Db.Set <TEntity>(); }
public UnitOfWork(ProjetoDDDContext context) { _context = context; _disposed = false; }
public CategoriaDoProdutoRepository(ProjetoDDDContext context) : base(context) { }
public ClienteRepository(ProjetoDDDContext context) : base(context) { }
public EnderecoRepository(ProjetoDDDContext context) : base(context) { _projetoDDDEntities = context; }
public PerfilRepository(ProjetoDDDContext context) : base(context) { }
public UnitOfWork(ProjetoDDDContext context) { _context = context; }
public UnitOfWork(ProjetoDDDContext context) { _context = context; Customers = new CustomerRepository(_context); Endereco = new EnderecoRepository(_context); }
public ProdutoRepository(ProjetoDDDContext context) : base(context) { }
public CustomerRepository(ProjetoDDDContext context) : base(context) { _projetoDDDEntities = context; }
//após o unitof work public FiliacaoRepository(ProjetoDDDContext context) : base(context) { }
public ComentarioRepository(ProjetoDDDContext context) : base(context) { }