Method Meta
Meta<TDocument>(ProjectionDefinition<TDocument>, string, string)
Combines an existing projection with a meta projection.
public static ProjectionDefinition<TDocument> Meta<TDocument>(this ProjectionDefinition<TDocument> projection, string field, string metaFieldName)
Parameters
projection
ProjectionDefinition<TDocument>The projection.
field
stringThe field.
metaFieldName
stringThe meta field name.
Returns
- ProjectionDefinition<TDocument>
A combined projection.
Type Parameters
TDocument
The type of the document.