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

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

Assembly: Epic.Query.Object

Declaration Syntax
C#
public abstract int Compare(
	TEntity x,
	TEntity y
)
Parameters
x (TEntity)
The first entity.
y (TEntity)
The second entity.
Return Value
0 if x and y are equivalent for the current order criterion, a positive number if x goes after y and a negative number if x goes before y.
Exceptions
ExceptionCondition
InvalidOperationExceptionx and y cannot be sorted by the current criterion.
blog comments powered by Disqus