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
projectionProjectionDefinition<TDocument>The projection.
fieldstringThe field.
metaFieldNamestringThe meta field name.
Returns
- ProjectionDefinition<TDocument>
A combined projection.
Type Parameters
TDocumentThe type of the document.