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

On this page
    ReaderType Property (MongoDBCommand)
    On this page
    Gets or sets how a native-mode command returns documents: MongoDBReaderType.Default returns a column per field, MongoDBReaderType.Document returns each document as one value (see MongoDBDataReader.GetDocument). If the property is not set, the Reader Type of the connection is used; without a connection, MongoDBReaderType.Default. Ignored in the SQL engine mode.
    Syntax
    'Declaration
     
    Public Property ReaderType As MongoDBReaderType
    public MongoDBReaderType ReaderType {get; set;}
    See Also