Class EntitySchemaOppositeReferenceInfoCollectionComparer
Provides methods for comparing schema relationships.
Inheritance
System.Object
EntitySchemaOppositeReferenceInfoCollectionComparer
Implements
System.Collections.Generic.IComparer<EntitySchemaOppositeReferenceInfo>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class EntitySchemaOppositeReferenceInfoCollectionComparer : IComparer<EntitySchemaOppositeReferenceInfo>
Constructors
EntitySchemaOppositeReferenceInfoCollectionComparer()
Declaration
public EntitySchemaOppositeReferenceInfoCollectionComparer()
Methods
Compare(EntitySchemaOppositeReferenceInfo, EntitySchemaOppositeReferenceInfo)
Compares the given relationships to each other by schema name.
Declaration
public int Compare(EntitySchemaOppositeReferenceInfo x, EntitySchemaOppositeReferenceInfo y)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaOppositeReferenceInfo | x | First link for comparison. |
EntitySchemaOppositeReferenceInfo | y | Second link for comparison. |
Returns
Type | Description |
---|---|
System.Int32 | A number that defines the lexical relationship between |
Implements
System.Collections.Generic.IComparer<T>