Class Command

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Base class for commands.

public abstract class Command<TResult>

Type Parameters

TResult

The type of the result.

Inheritance

Command

Derived

Inherited Members

Methods

Render(IBsonSerializerRegistry)

Renders the command to a RenderedCommand.

Operators

implicit operator Command(BsonDocument)

Performs an implicit conversion from BsonDocument to Command.

implicit operator Command(string)

Performs an implicit conversion from string to Command.