예제 #1
0
 public CreditSlipManager(IRepositoryFactory repositoryFactory)
 {
     _repositoryCreditSlip      = repositoryFactory.Create <CreditSlip>();
     _repositoryLink            = repositoryFactory.Create <RelationshipBetweenDocuments>();
     _repositoryCreditSlipSpecs = repositoryFactory.Create <CreditSlipSpecification>();
     _repositoryTax             = repositoryFactory.Create <Tax>();
 }
 protected EntityBase(PermissionMaterialUser entity, IRepositoryFactory repositoryFactory)
 {
     _repository = repositoryFactory.Create <PermissionMaterialUser>();
     Entity      = entity;
 }
 public EntityBase(PlanCertificate entity, IRepositoryFactory repositoryFactory)
 {
     _repository = repositoryFactory.Create <PlanCertificate>();
     Entity      = entity;
 }
 protected EntityBase(PlanReceiptOrderPersonalAccount entity, IRepositoryFactory repositoryFactory)
 {
     _repository = repositoryFactory.Create <PlanReceiptOrderPersonalAccount>();
     Entity      = entity;
 }
예제 #5
0
 public WeatherForecastController(INhRepository <User> pNhUserRepo, IEfRepository <User> pEfRepo)
 {
     _nhUserRepo = pNhUserRepo;
     _efUserRepo = pEfRepo;
 }
 public EntityBase(PlanReceiptOrder entity, IRepositoryFactory repositoryFactory)
 {
     Entity      = entity;
     _repository = repositoryFactory.Create <PlanReceiptOrder>();
 }