Table of Contents

Method GetClient

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

GetClient(IQueryable)

Gets the client that owns the collection or database the source is querying.

public static IMongoClient GetClient(this IQueryable source)

Parameters

source IQueryable

The source.

Returns

IMongoClient

The client.