public InternalDataReader(IDbCommand command, IDataReader reader, ReaderNestedlocked locker)
        {
            _command = (DbCommand)command;
            _reader  = reader;
            _locker  = locker;

            locker.Increment();
        }
 public InternalDbCommand(IDbCommand command, ReaderNestedlocked locker)
 {
     _command = command;
     _locker  = locker;
 }