The FieldPair type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EscapedFieldName
A convenience function that escapes the field name from the databases. Caches the result for speed improvement.
Field
A convenience function for easy access to the first or second field in a FieldPair. Returns the requested field, or the field in the other database if the requested field is null.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetObjectData
Gets serialization information with all of the data required to recreate an instance of this FieldPair.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsUnicode
Returns true if the Field is Unicode (NChar, NText, NVarChar, XML, CLR).
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SqlType
A convenience function for easy access to the first or second SqlType in a FieldPair. Returns the requested SqlType, or the other SqlType if the requested field is null. Also de-references user-defined types.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Type
A convenience function for easy access to the first or second FieldType in a FieldPair. Returns the requested FieldType, or the FieldType for the other database if the requested FieldType is null.

Properties

  NameDescription
Field1
The field from the first database.
Field2
The field from the second database.
Matching
True if the FieldPair is used to match the databases.
OrdinalInResults1
The ordinal in the ResultsStore for the field in the first database.
OrdinalInResults2
The ordinal in the ResultsStore for the field in the second database.
SqlType1
The SqlType of the field in the first database, or the underlying SqlType of the User Defined Type of the field.
SqlType2
The SqlType of the field in the second database, or the SqlType of the User Defined Type of the field.
Type1
The ResultsStore type of the field in the first database.
Type2
The ResultsStore type of the field in the second database.

See Also