Method CreateCommand
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
CreateCommand(ICoreSessionHandle, ConnectionDescription)
Creates the command.
protected virtual BsonDocument CreateCommand(ICoreSessionHandle session, ConnectionDescription connectionDescription)
Parameters
sessionICoreSessionHandleThe session.
connectionDescriptionConnectionDescriptionThe connection description.
Returns
- BsonDocument
The command.