Initializes a new instance of the Order<(Of <(<'TEntity>)>)> class.
Assembly: Epic.Query.Object
Declaration Syntax
C# |
public Order( Expression<IEnumerable<TEntity>> source, OrderCriterion<TEntity> criterion )
Parameters
- source (Expression<(Of <(<'IEnumerable<(Of <(<'TEntity>)>)>>)>)>)
- IEnumerable<(Of <(<'T>)>)> to sort.
- criterion (OrderCriterion<(Of <(<'TEntity>)>)>)
- Order criterion.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | source or criterion is nullNothingnullptr. |