Export (0) Print
Expand All

DataServiceProviderMethods.Compare Method (Boolean, Boolean)

Returns comparison information for Boolean parameters in an operation expression.

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

public static int Compare(
	bool left,
	bool right


Type: System.Boolean
The first parameter value.
Type: System.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.

© 2014 Microsoft