DataServiceProviderMethods.Compare Method (Nullable<Boolean>, Nullable<Boolean>)

Returns comparison information for nullable Boolean parameters in an operation expression.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public static int Compare(
	Nullable<bool> left,
	Nullable<bool> right
)

Parameters

left
Type: System.Nullable<Boolean>
The first parameter value.
right
Type: System.Nullable<Boolean>
The second parameter value.

Return Value

Type: System.Int32
Value Condition -1 left is less than right. 0 x equals y. 1 left is greater than right.

Do not change the name of this function because LINQ to SQL is sensitive about the method name, so is EF probably.

Show: