コード例 #1
0
 public MyEntitiesController(IMyEntityRepository repository)
 {
     _service = new MyEntityService(repository);
 }
コード例 #2
0
 public MyEntityService(IMyEntityRepository repository)
     : base(repository)
 {
     _repository = repository;
 }
コード例 #3
0
 public MyServiceOrController(IMyEntityRepository myEntityRepository)
 {
     _myEntityRepository = myEntityRepository;
 }
コード例 #4
0
 public UnitOfWork(IMyEntityRepository myEntityRepository, MyDbContext dbContext)
 {
     this.myEntityRepository = myEntityRepository;
     this.dbContext          = dbContext;
 }