dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBCommand Class / CommandText Property

On this page
    CommandText Property (MongoDBCommand)
    On this page
    Gets or sets the text of the command: a MongoDB JSON command (for example, {"find": "orders", "filter": {}}) in the native mode, an SQL statement in the SQL engine mode, or a collection name when CommandType is TableDirect. The default value is an empty string.
    Syntax
    'Declaration
     
    Public Overrides Property CommandText As String
    public override string CommandText {get; set;}
    See Also