MSDN Library

DataServiceProviderMethods.Compare Method (String, String)

Returns comparison information for string parameters in an operation expression.

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

public static int Compare(
	string left,
	string right
)

Parameters

left
Type: System.String
The first parameter value.
right
Type: System.String
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:
© 2016 Microsoft