public DocumentVersionDataAdapter(OleDbDataReader dr, int rowNumber, ImportFileMetaData metaData)
        {
            DocumentName = string.Empty;
            User = string.Empty;
            FileName = string.Empty;
            ApprovedBy = string.Empty;

            RowNumber = rowNumber;
            mMetaData = metaData;

            DocumentName = dr.SafeString((int)DocumentVersionColumn.DocumentName).Trim();
            User = dr.SafeString((int)DocumentVersionColumn.User).Trim();
            FileName = dr.SafeString((int)DocumentVersionColumn.FileName).Trim();
            try
            {
                Version = dr.SafeDocumentVersionNumber((int)DocumentVersionColumn.Version);
            }
            catch (Exception ex)
            {
                ErrorMessages.Add(string.Format(ex.Message, DocumentName, rowNumber));
            }

            Date = dr.SafeDate((int)DocumentVersionColumn.Date);
            Description = dr.SafeString((int)DocumentVersionColumn.Description).Trim();

            if (string.IsNullOrEmpty(dr.SafeString((int)DocumentVersionColumn.Native)))
            {
                ErrorMessages.Add(string.Format("Document Name '{0}', row {1}. The Native column is empty.", DocumentName, rowNumber));
            }
            else
            {
                string isActiveString = dr.SafeString((int)DocumentVersionColumn.Native).Trim().ToLower();

                if (isActiveString == "true" || isActiveString == "native" || isActiveString == "t" || isActiveString == "1")
                {
                    Native = true;
                }
            }

            Validate(rowNumber, true);
        }