Example #1
0
 public IAggregateFluent <TNewResult> Lookup <TForeignDocument, TAsElement, TAs, TNewResult>(IMongoCollection <TForeignDocument> foreignCollection, BsonDocument let, PipelineDefinition <TForeignDocument, TAsElement> lookupPipeline, FieldDefinition <TNewResult, TAs> @as, AggregateLookupOptions <TForeignDocument, TNewResult> options = null) where TAs : IEnumerable <TAsElement>
 {
     return(BlockProvider.Lookup <TForeignDocument, TAsElement, TAs, TNewResult>(foreignCollection, let, lookupPipeline, @as, options));
 }
Example #2
0
 public IAggregateFluent <TNewResult> Lookup <TForeignDocument, TNewResult>(string foreignCollectionName, FieldDefinition <BsonDocument> localField, FieldDefinition <TForeignDocument> foreignField, FieldDefinition <TNewResult> @as, AggregateLookupOptions <TForeignDocument, TNewResult> options = null)
 {
     return(BlockProvider.Lookup <TForeignDocument, TNewResult>(foreignCollectionName, localField, foreignField, @as, options));
 }