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