public static DbContextAccessCorp CreateDbContextAccessCorp()
        {
            if (_dbContextAccessCorp == null)
            {
                _dbContextAccessCorp = new DbContextAccessCorp();
            }

            return(_dbContextAccessCorp);
        }
 public CampoRepository()
 {
     _dbContextAccessCorp = FactoryDbContextAccessCorp.CreateDbContextAccessCorp();
 }
Exemple #3
0
 public SubCategoriaRepository()
 {
     _dbContextAccessCorp = FactoryDbContextAccessCorp.CreateDbContextAccessCorp();
 }