internal NonBufferedFileIO(string fileName) { CurrentPositionForDirectWrite = -1; _wholeFileName = fileName; _odbWriter = new OdbFileStream(_wholeFileName); }
private void CloseIO() { try { _odbWriter.Dispose(); } catch (IOException e) { DLogger.Error("NonBufferedFileIO" + e); throw new OdbRuntimeException(NDatabaseError.InternalError.AddParameter(e.Message), e); } _odbWriter = null; }
private void CloseIO() { try { _odbWriter.Dispose(); } catch (IOException e) { Log4NetHelper.Instance.LogErrorMessage(String.Format("NonBufferedFileIO{0}", e)); throw new OdbRuntimeException(NDatabaseError.InternalError.AddParameter(e.Message), e); } _odbWriter = null; }
internal NonBufferedFileIO() { CurrentPositionForDirectWrite = -1; _odbWriter = new OdbMemoryStream(); }