Class DataTransferRow
Represents the row of a table in a database. This class cannot be inherited.
Inheritance
Namespace: Cuemon.Data
Assembly: Cuemon.Data.dll
Syntax
public sealed class DataTransferRow
Properties
| Improve this DocColumns
Gets the associated columns of this row.
Declaration
public DataTransferColumnCollection Columns { get; }
Property Value
Type | Description |
---|---|
DataTransferColumnCollection | The associated columns of this row. |
Item[DataTransferColumn]
Gets the value of a DataTransferColumn from the Columns with the specified column
.
Declaration
public object this[DataTransferColumn column] { get; }
Parameters
Type | Name | Description |
---|---|---|
DataTransferColumn | column | The column from which to return the value from. |
Property Value
Type | Description |
---|---|
System.Object | An System.Object that contains the data of the column. |
Item[Int32]
Gets the value of a DataTransferColumn from the Columns with the specified index
.
Declaration
public object this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the column from which to return the value from. |
Property Value
Type | Description |
---|---|
System.Object | An System.Object that contains the data of the column. |
Item[String]
Gets the value of a DataTransferColumn from the Columns with the specified name
.
Declaration
public object this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the column from which to return the value from. |
Property Value
Type | Description |
---|---|
System.Object | An System.Object that contains the data of the column. |
Number
Gets the row number.
Declaration
public int Number { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The row number. |
Methods
| Improve this DocAs<TResult>(DataTransferColumn)
Gets the value of a DataTransferColumn from the Columns with the specified column
.
Declaration
public TResult As<TResult>(DataTransferColumn column)
Parameters
Type | Name | Description |
---|---|---|
DataTransferColumn | column | The column from which to return the value from. |
Returns
Type | Description |
---|---|
TResult | The value associated with the |
Type Parameters
Name | Description |
---|---|
TResult | The type of the result. |
As<TResult>(Int32)
Gets the value of a DataTransferColumn from the Columns with the specified index
.
Declaration
public TResult As<TResult>(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the column from which to return the value from. |
Returns
Type | Description |
---|---|
TResult | The value associated with the zero-based |
Type Parameters
Name | Description |
---|---|
TResult | The type of the result. |
As<TResult>(String)
Gets the value of a DataTransferColumn from the Columns with the specified name
.
Declaration
public TResult As<TResult>(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the column from which to return the value from. |
Returns
Type | Description |
---|---|
TResult | The value associated with the |
Type Parameters
Name | Description |
---|---|
TResult | The type of the result. |
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |