Example #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    _dbContext?.Dispose();
                    _dbContext = null;
                }
            }

            _disposed = true;
        }
Example #2
0
 public UsuarioRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #3
0
 public RepositorioBase(Cred9DbContext context)
 {
     DbContext = context;
     DbSet     = DbContext.Set <TEntidade>();
 }
Example #4
0
 public VendaStatusHistoricoRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #5
0
 public ContratoRelatorioPagamentoRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #6
0
 public TabelaComissaoRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #7
0
 public VendaRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #8
0
 public UnitOfWork(Cred9DbContext context)
 {
     _dbContext = context;
 }
Example #9
0
 public RoleRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #10
0
 public FiltroEspecieRepositorio(Cred9DbContext context) : base(context)
 {
 }
Example #11
0
 public FiltroBancoRepositorio(Cred9DbContext context) : base(context)
 {
 }