Base class for custom order criteria.
Inheritance Hierarchy
Object | |||
VisitableBase | |||
OrderCriterion<(Of <(<'TEntity>)>)> | |||
OrderCriterionBase<(Of <(<'TEntity, TOrderCriterion>)>)> |
Assembly: Epic.Query.Object
Declaration Syntax
C# |
[SerializableAttribute] public abstract class OrderCriterionBase<TEntity, TOrderCriterion> : OrderCriterion<TEntity> where TEntity : class where TOrderCriterion : OrderCriterion<TEntity>
Generic Template Parameters
- TEntity
- Type of the entity of interest.
- TOrderCriterion
- Type of the order criterion.
Remarks
This base class is designed to be derived by sealed class only (the constructor will throw an EpicException otherwise) so that the interpretation of Accept<(Of <<'(TResult>)>>)(IVisitor<(Of <<'(TResult>)>>), IVisitContext) can be done right here.
Members
All Members | Constructors | Methods | |||
Member | Description | |
---|---|---|
OrderCriterionBase<(Of <(<'TEntity, TOrderCriterion>)>)>()()()() |
Initializes a new instance of the OrderCriterionBase<(Of <(<'TEntity, TOrderCriterion>)>)> class.
| |
OrderCriterionBase<(Of <(<'TEntity, TOrderCriterion>)>)>(SerializationInfo, StreamingContext) |
Initializes a new instance of the OrderCriterionBase<(Of <(<'TEntity, TOrderCriterion>)>)> class,
after deserialization.
| |
Accept<(Of <<'(TResult>)>>)(IVisitor<(Of <<'(TResult>)>>), IVisitContext) |
Accept the specified visitor and context as a TOrderCriterion.
(Overrides VisitableBase.Accept<(Of <<'(TResult>)>>)(IVisitor<(Of <<'(TResult>)>>), IVisitContext).) | |
Chain(OrderCriterion<(Of <<'(TEntity>)>>)) |
Chain the specified OrderCriterion<(Of <(<'TEntity>)>)> to compare TEntity
when they are equivalent according to the current criterion.
(Overrides OrderCriterion<(Of <(<'TEntity>)>)>.Chain(OrderCriterion<(Of <<'(TEntity>)>>)).) | |
EqualsA(OrderCriterion<(Of <<'(TEntity>)>>)) |
Determines whether the specified OrderCriterion<(Of <(<'TEntity>)>)> is equal to the
current OrderCriterion<(Of <(<'TEntity>)>)>, given that EqualsA(OrderCriterion<(Of <<'(TEntity>)>>))
grant that it is not nullNothingnullptr, this and that it has the same type of the current instance.
(Overrides OrderCriterion<(Of <(<'TEntity>)>)>.EqualsA(OrderCriterion<(Of <<'(TEntity>)>>)).) | |
EqualsA(TOrderCriterion) |
Determines whether the specified TOrderCriterion is equal to the
current TOrderCriterion, given that EqualsA(OrderCriterion<(Of <<'(TEntity>)>>))
grant that it is not nullNothingnullptr, this and that it has the same type of the current instance.
| |
For<(Of <<'(TSpecializedEntity>)>>)()()()() |
Returns the current criterion wrapped to handle any TSpecializedEntity.
(Overrides OrderCriterion<(Of <(<'TEntity>)>)>.For<(Of <<'(TSpecializedEntity>)>>)()()()().) | |
Reverse()()()() |
Reverse this order criterion.
(Overrides OrderCriterion<(Of <(<'TEntity>)>)>.Reverse()()()().) |