Table of Contents

Class FieldDefinition<TDocument, TField>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for field names.

public abstract class FieldDefinition<TDocument, TField>

Type Parameters

TDocument

The type of the document.

TField

The type of the field.

Inheritance
FieldDefinition<TDocument, TField>
Derived
Inherited Members

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)

Renders the field to a RenderedFieldDefinition<TField>.

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the field to a RenderedFieldDefinition<TField>.

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider, bool)

Renders the field to a RenderedFieldDefinition<TField>.

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, bool)

Renders the field to a RenderedFieldDefinition<TField>.

Render(RenderArgs<TDocument>)

Renders the field to a RenderedFieldDefinition<TField>.

Operators

implicit operator FieldDefinition<TDocument>(FieldDefinition<TDocument, TField>)

Performs an implicit conversion from FieldDefinition<TDocument, TField> to FieldDefinition<TDocument>.

implicit operator FieldDefinition<TDocument, TField>(string)

Performs an implicit conversion from string to FieldDefinition<TDocument, TField>.