Class ExpressionFilterDefinition<TDocument>
An Expression based filter.
public sealed class ExpressionFilterDefinition<TDocument> : FilterDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
FilterDefinition<TDocument>ExpressionFilterDefinition<TDocument>
- Inherited Members
- Extension Methods
Constructors
- ExpressionFilterDefinition(Expression<Func<TDocument, bool>>)
Initializes a new instance of the ExpressionFilterDefinition<TDocument> class.
Properties
- Expression
Gets the expression.
Methods
- Render(RenderArgs<TDocument>)
Renders the filter to a BsonDocument.