Show / Hide Table of Contents

Method VerifyDbReader

| Improve this Doc View Source

VerifyDbReader(DbReader)

Verifies whether this column belongs to provided DbReader.

Declaration
protected void VerifyDbReader(DbReader reader)
Parameters
Type Name Description
DbReader reader

The DbReader object to be verified.

Remarks

Inherited class should call this method before reading value from DbReader.

Exceptions
Type Condition
System.ArgumentNullException

The reader is null.

System.ArgumentException

This column does not belong to the reader.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest