Class FilterDefinition<TDocument>
Base class for filters.
public abstract class FilterDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
FilterDefinition<TDocument>
- Derived
- Inherited Members
- Extension Methods
Properties
- Empty
Gets an empty filter. An empty filter matches everything.
Methods
- Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)
Renders the filter to a BsonDocument.
- Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the filter to a BsonDocument.
- Render(RenderArgs<TDocument>)
Renders the filter to a BsonDocument.
Operators
- operator &(FilterDefinition<TDocument>, FilterDefinition<TDocument>)
Implements the operator &.
- operator |(FilterDefinition<TDocument>, FilterDefinition<TDocument>)
Implements the operator |.
- implicit operator FilterDefinition<TDocument>(BsonDocument)
Performs an implicit conversion from BsonDocument to FilterDefinition<TDocument>.
- implicit operator FilterDefinition<TDocument>(Expression<Func<TDocument, bool>>)
Performs an implicit conversion from a predicate expression to FilterDefinition<TDocument>.
- implicit operator FilterDefinition<TDocument>(string)
Performs an implicit conversion from string to FilterDefinition<TDocument>.
- operator !(FilterDefinition<TDocument>)
Implements the operator !.