예제 #1
0
 public DomainServiceBase(IEntityRepositoryBase <TEntity> baseRepository)
 {
     _baseRepository = baseRepository ?? throw new ArgumentNullException(nameof(baseRepository));
 }
 protected ReadOnlyRepositoryControllerBase(IEntityRepositoryBase <TEntity, TContext> artifactRepo, IMapper mapper, IUnitOfWork <TContext> uow) : base(uow)
 {
     ArtifactRepo = artifactRepo;
     Mapper       = mapper;
 }
예제 #3
0
 public PersonDomainService(IEntityRepositoryBase <Person> baseRepository) : base(baseRepository)
 {
 }
 protected ReadWriteRepositoryControllerBase(IEntityRepositoryBase <TEntity, TContext> artifactRepo, IMapper mapper, IUnitOfWork <TContext> uow) : base(artifactRepo, mapper, uow)
 {
 }
예제 #5
0
 public EntityServiceBase()
 {
     _repositoryBase = new EntityRepositoryBase <T>();
 }
 public RepositoryController(IEntityRepositoryBase <TEntity, TContext> artifactRepo, IMapper mapper, IUnitOfWork <TContext> uow) : base(artifactRepo, mapper, uow)
 {
 }