Export (0) Print
Expand All

DataServiceProviderMethods.Compare Method (Guid, Guid)

Returns comparison information for GUID parameters in an operation expression.

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

public static int Compare(
	Guid left,
	Guid right


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