public bool Delete(int key) { var dataBlockNumber = DbIndexFileUtility.FindDataBlockNumber(key, _dbConnection); return(DbDataFileUtility.Delete(key, dataBlockNumber, _dbConnection)); }
public void Write(KeyValuePair <int, object> record) { var dataBlockNumber = DbIndexFileUtility.FindDataBlockNumber(record.Key, _dbConnection); DbDataFileUtility.Write(record, dataBlockNumber, _dbConnection); }
public KeyValuePair <int, object>?Read(int key) { var dataBlockNumber = DbIndexFileUtility.FindDataBlockNumber(key, _dbConnection); return(DbDataFileUtility.FindRecord(key, dataBlockNumber, _dbConnection)); }
public void Write(int key, object value) { var dataBlockNumber = DbIndexFileUtility.FindDataBlockNumber(key, _dbConnection); DbDataFileUtility.Write(new KeyValuePair <int, object>(key, value), dataBlockNumber, _dbConnection); }