Table of Contents

Class DataTransferRow

Namespace
Cuemon.Data
Assembly
Cuemon.Data.dll

Represents the row of a table in a database. This class cannot be inherited.

public sealed class DataTransferRow
Inheritance
DataTransferRow

Properties

Columns

Gets the associated columns of this row.

public DataTransferColumnCollection Columns { get; }

Property Value

DataTransferColumnCollection

The associated columns of this row.

Item[DataTransferColumn]

Gets the value of a DataTransferColumn from the Columns with the specified column.

public object this[DataTransferColumn column] { get; }

Parameters

column DataTransferColumn

The column from which to return the value from.

Property Value

Object

An Object that contains the data of the column.

Item[Int32]

Gets the value of a DataTransferColumn from the Columns with the specified index.

public object this[int index] { get; }

Parameters

index Int32

The zero-based index of the column from which to return the value from.

Property Value

Object

An Object that contains the data of the column.

Item[String]

Gets the value of a DataTransferColumn from the Columns with the specified name.

public object this[string name] { get; }

Parameters

name String

The name of the column from which to return the value from.

Property Value

Object

An Object that contains the data of the column.

Number

Gets the row number.

public int Number { get; }

Property Value

Int32

The row number.

Methods

As<TResult>(DataTransferColumn)

Gets the value of a DataTransferColumn from the Columns with the specified column.

public TResult As<TResult>(DataTransferColumn column)

Parameters

column DataTransferColumn

The column from which to return the value from.

Returns

TResult

The value associated with the column converted to the specified TResult.

Type Parameters

TResult

The type of the result.

As<TResult>(Int32)

Gets the value of a DataTransferColumn from the Columns with the specified index.

public TResult As<TResult>(int index)

Parameters

index Int32

The zero-based index of the column from which to return the value from.

Returns

TResult

The value associated with the zero-based index of a column converted to the specified TResult.

Type Parameters

TResult

The type of the result.

As<TResult>(String)

Gets the value of a DataTransferColumn from the Columns with the specified name.

public TResult As<TResult>(string name)

Parameters

name String

The name of the column from which to return the value from.

Returns

TResult

The value associated with the name of a column converted to the specified TResult.

Type Parameters

TResult

The type of the result.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

String

A String that represents this instance.