protected virtual void Dispose(bool disposing)
{
if (!IsDisposed)
{
if (disposing)
{
if (_ownsReader && _reader != null)
{
_reader.Close();
_reader = null;
}
if (_reader != null)
{
_reader.Dispose();
}
_reader = null;
_dialect = null;
_fields = null;
_buffer = null;
}
IsDisposed = true;
}
}