Condividi tramite


ModelCollationComparer.Compare Method

Definition

Overloads

Compare(ObjectIdentifier, ObjectIdentifier)

Compare two objects using collation of this comparer.

Compare(IList<String>, IList<String>)

Compare two objects using collation of this comparer.

Compare(String, String)

Compare two objects using collation of this comparer.

Compare(ObjectIdentifier, ObjectIdentifier)

Compare two objects using collation of this comparer.

public abstract int Compare (Microsoft.SqlServer.Dac.Model.ObjectIdentifier x, Microsoft.SqlServer.Dac.Model.ObjectIdentifier y);
abstract member Compare : Microsoft.SqlServer.Dac.Model.ObjectIdentifier * Microsoft.SqlServer.Dac.Model.ObjectIdentifier -> int
Public MustOverride Function Compare (x As ObjectIdentifier, y As ObjectIdentifier) As Integer

Parameters

x
ObjectIdentifier

Source object.

y
ObjectIdentifier

Target object.

Returns

Implements

Applies to

Compare(IList<String>, IList<String>)

Compare two objects using collation of this comparer.

public abstract int Compare (System.Collections.Generic.IList<string> x, System.Collections.Generic.IList<string> y);
abstract member Compare : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> int
Public MustOverride Function Compare (x As IList(Of String), y As IList(Of String)) As Integer

Parameters

x
IList<String>

Source object.

y
IList<String>

Target object.

Returns

Implements

Applies to

Compare(String, String)

Compare two objects using collation of this comparer.

public abstract int Compare (string x, string y);
abstract member Compare : string * string -> int
Public MustOverride Function Compare (x As String, y As String) As Integer

Parameters

x
String

Source object.

y
String

Target object.

Returns

Implements

Applies to