Пример #1
0
 public MyRepository(IZaabeeUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
Пример #2
0
 public ZaabeeDbContext(IDbConnection dbConnection)
 {
     _connection = dbConnection;
     _connection.Open();
     UnitOfWork = new ZaabeeUnitOfWork(_connection);
 }