Compare the specified entities.
Assembly: Epic.Query.Object
Declaration Syntax
| C# |
public override int Compare( TEntity x, TEntity y )
Return Value
[Missing <returns> documentation for "M:Epic.Query.Object.OrderCriteria`1.Compare(`0,`0)"]
Remarks
The comparison is delegated to the criteria in the set in the order thay have been chained.
The first order criterion that returns a non-zero result stop the chain.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | x and y cannot be sorted by the current criterion. |
