Home IFilterBuilder<TFilter> Interface
Post
Cancel

IFilterBuilder<TFilter> Interface

Definition

Namespace: EntityDb.Abstractions.Queries.FilterBuilders
Assembly: EntityDb.Abstractions

Builds a TFilter for an object repository. Possible objects include: agentSignatures, commands, facts, and leases.

1
public interface IFilterBuilder<TFilter>

Type Parameters

TFilter
The type of filter used by the repository.

Methods

TransactionTimeStampGte(TimeStamp) Returns a TFilter that only includes objects with a transaction timestamp greater than or equal to a transaction timestamp.
TransactionTimeStampLte(TimeStamp) Returns a TFilter that only includes objects with a transaction timestamp less than or equal to a transaction timestamp.
TransactionIdIn(Id[]) Returns a TFilter that only includes objects with an transaction id which is contained in a set of transaction ids.
Not(TFilter) Returns a TFilter that excludes objects which do match a filter.
And(TFilter[]) Returns a TFilter that excludes objects which do not match all filters in a set of filters.
Or(TFilter[]) Returns a TFilter that excludes objects which do not match any filter in a set of filters.
This post is licensed under CC BY 4.0 by the author.