コード例 #1
0
 IUnitOfWork CreateUnitOfWork()
 {
     return(iUoW = new EFUnitOfWork(this.iFactory.CreateContext()));
 }
コード例 #2
0
 public IRepository <T> GetRepository <T>() where T : BaseEntity
 {
     iUoW = new EFUnitOfWork(this.iFactory.CreateContext());
     return((IRepository <T>) this.iUoW.GetRepository <T>());
 }