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.

Namespace:  RedGate.SQLDataCompare.Engine
Assembly:  RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)

Syntax

Visual Basic (Declaration)
Public Function Field ( _
	onTwo As Boolean _
) As Field
C#
public Field Field(
	bool onTwo
)
Visual C++
public:
Field^ Field(
	bool onTwo
)

Parameters

onTwo
Type: System..::.Boolean
true for the second database; false for the first database.

Return Value

The field for the requested database; if this is null, the field for the other database.

See Also