A convenience function for easy access to the first or second WHERE clause. Returns the appropriate WHERE clause.

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

Syntax

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

Parameters

onTwo
Type: System..::.Boolean
true to return the WHERE clause for the second database; false to return the WHERE clause for first database.

Return Value

The WHERE clause for the requested database.

See Also