Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

SqlBuilder..::..CheckForOverlaps Method

Checks to see of the same property appears in both objects. If it does, an InvalidOperationException is thrown with the provided error message.

Namespace:  Tortuga.Chain.CommandBuilders
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public static void CheckForOverlaps(
	Nullable<Object> firstObject,
	Nullable<Object> secondObject,
	string errorFormat
)
Public Shared Sub CheckForOverlaps ( _
	firstObject As Nullable(Of Object), _
	secondObject As Nullable(Of Object), _
	errorFormat As String _
)
public:
static void CheckForOverlaps(
	Nullable<Object^> firstObject, 
	Nullable<Object^> secondObject, 
	String^ errorFormat
)

Parameters

firstObject
Type: Nullable<(Of <(<'Object>)>)>
The first object.
secondObject
Type: Nullable<(Of <(<'Object>)>)>
The second object.
errorFormat
Type: String
The error format. Slot 0 is the matching property.

Return Value

System.String.

Remarks


If either object is null, this check is skipped.