Called to determine if an object should be included in the mapping at all, one of the obj arguments is null.

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

Syntax

Visual Basic (Declaration)
Protected Overrides Function ShouldInclude ( _
	obj1 As IDatabaseObject, _
	obj2 As IDatabaseObject, _
	extra As Object _
) As Boolean
C#
protected override bool ShouldInclude(
	IDatabaseObject obj1,
	IDatabaseObject obj2,
	Object extra
)
Visual C++
protected:
virtual bool ShouldInclude(
	IDatabaseObject^ obj1, 
	IDatabaseObject^ obj2, 
	Object^ extra
) override

Parameters

obj1
Type: RedGate.SQLCompare.Engine..::.IDatabaseObject
object or null if obj2 not null.
obj2
Type: RedGate.SQLCompare.Engine..::.IDatabaseObject
object or null if obj1 not null.
extra
Type: System..::.Object
extra data passed into CreateMappings internally to determine relevance.

Return Value

true ( default )for inclusion, false otherwise.

See Also