Exemplo n.º 1
0
 /// <summary>
 /// Example manually UnitOfWork initialization
 /// </summary>
 public void Initialization()
 {
     IDapperContext context = new DapperContext();
     IFactoryRepository repoFactory = new FactoryRepository();
     IUnitOfWork unitOfWork = new UnitOfWork(context, repoFactory);
     UnitOfWork = unitOfWork;
 }
 public UserRepository(UnitOfWork unitOfWork)
     : base(unitOfWork)
 {
 }
 internal ClaimRepository(UnitOfWork unitOfWork)
     : base(unitOfWork)
 {
 }