Method Combine
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Combine(params ProjectionDefinition[])
Combines the specified projections.
public ProjectionDefinition<TSource> Combine(params ProjectionDefinition<TSource>[] projections)Parameters
projections ProjectionDefinition[]
The projections.
Returns
A combined projection.
Combine(IEnumerable<ProjectionDefinition>)
Combines the specified projections.
public ProjectionDefinition<TSource> Combine(IEnumerable<ProjectionDefinition<TSource>> projections)Parameters
projections IEnumerable<ProjectionDefinition>
The projections.
Returns
A combined projection.