Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

© 2015 Microsoft