See Also

FieldPair Class  | RedGate.SQLDataCompare.Engine Namespace

See Also RedGate.SQLDataCompare.Engine Send comments on this topic.

FieldPair Class Members

RedGate.SQLDataCompare.Engine Namespace : FieldPair Class (RedGate.SQLDataCompare.Engine)

FieldPair overview

Public Properties

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

Public Methods

Public Method EscapedFieldName A convenience function that escapes the field name from the databases. Caches the result for speed improvement.
Public Method 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.
Public Method GetObjectData Gets serialization information with all of the data required to recreate an instance of this FieldPair.
Public Method IsUnicode Returns true if the Field is Unicode (NChar, NText, NVarChar, XML, CLR).
Public Method 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.
Public Method 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.

See Also

FieldPair Class  | RedGate.SQLDataCompare.Engine Namespace

 

 


© 2003 - 2006 Red Gate Software Ltd. All Rights Reserved.