Method GetClient
GetClient(IQueryable)
Gets the client that owns the collection or database the source is querying.
public static IMongoClient GetClient(this IQueryable source)
Parameters
sourceIQueryableThe source.
Returns
- IMongoClient
The client.