ModelCollationComparer Class
Updated: April 20, 2017
Represents a comparer that can compare strings and ObjectIdentifiers using the collation of a TSqlModel. This can be very useful when comparing objects in the model since comparisons will be consistent with the expected comparison results in SQL Server.
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() | ModelCollationComparer() | Initializes a new instance of the ModelCollationComparer class. |
| Name | Description | |
|---|---|---|
![]() | Compare(IList(Of String), IList(Of String)) | Compares two objects using collation of this comparer. |
![]() | Compare(ObjectIdentifier, ObjectIdentifier) | Compares two objects using collation of this comparer. |
![]() | Compare(String, String) | Compares two objects using collation of this comparer. |
![]() | Equals(IList(Of String), IList(Of String)) | Tests if two identifiers are equal using collation of this comparer. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(ObjectIdentifier, ObjectIdentifier) | Tests if two identifiers are equal using collation of this comparer. |
![]() | Equals(String, String) | Compares if two objects are equal. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetHashCode(IList(Of String)) | Gets a Hashcode for the object that's compatible with the Equals method of this comparer. |
![]() | GetHashCode(ObjectIdentifier) | Gets a Hashcode for the object that's compatible with the Equals method of this comparer. |
![]() | GetHashCode(String) | Gets a Hashcode for the object that's compatible with the Equals method of this comparer. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

