Click or drag to resize

BufferingResultT Class

Abstract class for buffered results.
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPI.CommonBaseResult
    MySqlX.XDevAPI.CommonBufferingResultT
      MySqlX.XDevAPI.CRUDDocResult
      MySqlX.XDevAPI.RelationalInternalRowResult

Namespace:  MySqlX.XDevAPI.Common
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public abstract class BufferingResult<T> : BaseResult, 
	IEnumerable<T>, IEnumerable, IEnumerator<T>, IDisposable, IEnumerator

Type Parameters

T
Generic result type.

The BufferingResultT type exposes the following members.

Properties
  NameDescription
Public propertyAffectedItemsCount
Gets the number of records affected by the statement that generated this result.
(Inherited from BaseResult.)
Public propertyCurrent
Gets the current item.
Protected propertyNameMap
Gets a dictionary containing the column names and their index.
Public propertyPageSize
Gets the page size set for this buffered result.
Protected propertyProtocol
Gets the ProtocolBase object of the session.
(Inherited from BaseResult.)
Public propertyWarnings
Gets a read-only collection of WarningInfo objects derived from statement execution.
(Inherited from BaseResult.)
Public propertyWarningsCount
Gets the number of warnings in the Warnings collection derived from statement execution.
(Inherited from BaseResult.)
Top
Methods
  NameDescription
Protected methodBuffer
Retrieves a read-only list of the generic items associated to this buffered result.
(Overrides BaseResultBuffer.)
Public methodDispose
No body has been defined for this method.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFetchAll
Retrieves a read-only list of the generic items associated to this buffered result.
Public methodFetchOne
Retrieves one element from the generic items associated to this buffered result.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLoadColumnData
Loads the column data into the _nameMap field.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveNext
Determines if all items have already been read.
Public methodNext
Determines if all items have already been read.
Protected methodReadItem
Public methodReset
Resets the value of the _position field to zero.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_isComplete
Flag that indicates if all items have been read.
Protected field_items
List of generic items in this buffered result.
Protected field_position
Index of the current item.
Top
See Also