Share via


ModelCollationComparer.Equals Method

Definition

Overloads

Equals(ObjectIdentifier, ObjectIdentifier)

Test if two identifiers are equal using collation of this comparer.

Equals(IList<String>, IList<String>)

Test if two identifiers are equal using collation of this comparer.

Equals(String, String)

Compare if two objects are equal.

Equals(ObjectIdentifier, ObjectIdentifier)

Test if two identifiers are equal using collation of this comparer.

public abstract bool Equals (Microsoft.SqlServer.Dac.Model.ObjectIdentifier x, Microsoft.SqlServer.Dac.Model.ObjectIdentifier y);
override this.Equals : Microsoft.SqlServer.Dac.Model.ObjectIdentifier * Microsoft.SqlServer.Dac.Model.ObjectIdentifier -> bool
Public MustOverride Function Equals (x As ObjectIdentifier, y As ObjectIdentifier) As Boolean

Parameters

Returns

Implements

Applies to

Equals(IList<String>, IList<String>)

Test if two identifiers are equal using collation of this comparer.

public abstract bool Equals (System.Collections.Generic.IList<string> x, System.Collections.Generic.IList<string> y);
override this.Equals : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> bool
Public MustOverride Function Equals (x As IList(Of String), y As IList(Of String)) As Boolean

Parameters

x
IList<String>

List of name parts in the first identifier.

y
IList<String>

List of name parts in the second identifier.

Returns

Implements

Applies to

Equals(String, String)

Compare if two objects are equal.

public abstract bool Equals (string x, string y);
override this.Equals : string * string -> bool
Public MustOverride Function Equals (x As String, y As String) As Boolean

Parameters

x
String

Source object.

y
String

Target object.

Returns

True if equal, otherwise false.

Implements

Applies to