Fork me on GitHubEpicdominant domains
APIEpic.Query.ObjectOrderCriteria<(Of <(<'TEntity>)>)>Compare(TEntity, TEntity)

Compare Method (x, y)
Compare the specified entities.

Assembly: Epic.Query.Object

Declaration Syntax
C#
public override int Compare(
	TEntity x,
	TEntity y
)
Parameters
x (TEntity)
The first entity.
y (TEntity)
The second entity.
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
ExceptionCondition
InvalidOperationExceptionx and y cannot be sorted by the current criterion.
blog comments powered by Disqus