Class InternalRowResult
Represents a resultset that contains rows of data.
Implements
System.Collections.Generic.IEnumerable<Row>
System.Collections.IEnumerable
System.Collections.Generic.IEnumerator<Row>
System.Collections.IEnumerator
System.IDisposable
Namespace: MySqlX.XDevAPI.Relational
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public class InternalRowResult : BufferingResult<Row>, IEnumerable<Row>, IEnumerable, IEnumerator<Row>, IEnumerator, IDisposable
Properties
ColumnCount
Gets the number of columns in this resultset.
Declaration
public int ColumnCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ColumnNames
Gets a list containing the column names in this resultset.
Declaration
public List<string> ColumnNames { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Columns
Gets the columns in this resultset.
Declaration
public ReadOnlyCollection<Column> Columns { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Column> |
Item[Int32]
Gets the value of the column value at the current index.
Declaration
public object this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The column index. |
Property Value
Type | Description |
---|---|
System.Object | The CLR value at the column index. |
Rows
Gets the rows of this resultset. This collection will be incomplete unless all the rows have been read either by using the Next method or the Buffer method.
Declaration
public ReadOnlyCollection<Row> Rows { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Row> |
Methods
IndexOf(String)
Returns the index of the given column name.
Declaration
public int IndexOf(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the column to find. |
Returns
Type | Description |
---|---|
System.Int32 | The numeric index of column. |
ReadItem(Boolean)
Declaration
protected override Row ReadItem(bool dumping)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | dumping |
Returns
Type | Description |
---|---|
Row |
Overrides
MySqlX.XDevAPI.Common.BufferingResult<MySqlX.XDevAPI.Relational.Row>.ReadItem(System.Boolean)
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable