Click or drag to resize

BsonDataReader Class

Class to read void, one or a collection of BsonValues. Used in SQL execution commands and query returns. Use local data source (IEnumerable[BsonDocument])
Inheritance Hierarchy
SystemObject
  Internal.LiteDBBsonDataReader

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class BsonDataReader : IBsonDataReader, 
	IDisposable

The BsonDataReader type exposes the following members.

Properties
 NameDescription
Public propertyCollection Return collection name
Public propertyCurrent Return current value
Public propertyHasValues Return if has any value in result
Public propertyItem 
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the BsonDataReader
Protected methodDispose(Boolean)Releases the unmanaged resources used by the BsonDataReader and optionally releases the managed resources
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRead Move cursor to next result. Returns true if read was possible
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodFirst
(Defined by BsonDataReaderExtensions)
Public Extension MethodFirstOrDefault
(Defined by BsonDataReaderExtensions)
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodSingle
(Defined by BsonDataReaderExtensions)
Public Extension MethodSingleOrDefault
(Defined by BsonDataReaderExtensions)
Public Extension MethodToArray
(Defined by BsonDataReaderExtensions)
Public Extension MethodToEnumerable
(Defined by BsonDataReaderExtensions)
Public Extension MethodToList
(Defined by BsonDataReaderExtensions)
Top
See Also