Class Row
Represents a single row of data in a table.
Namespace: MySqlX.XDevAPI.Relational
Assembly: MySql.Data.dll
Version: 9.0.0
Syntax
public class Row
Properties
Item[Int32]
Gets the value of the row at the given index.
Declaration
public object this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The column index to retrieve the value. |
Property Value
Type | Description |
---|---|
Object | The value at the index. |
Item[String]
Gets a string based indexer into the row. Returns the value as a CLR type.
Declaration
public object this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
String | name | The column index to get. |
Property Value
Type | Description |
---|---|
Object | The CLR value for the column. |
Methods
GetString(String)
Gets the value of the column as a string.
Declaration
public string GetString(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the column. |
Returns
Type | Description |
---|---|
String | The value of the column as a string. |