Class DataTransferRowCollection
- Namespace
- Cuemon.Data
- Assembly
- Cuemon.Data.dll
Represents a collection of DataTransferRow objects for a table in a database. This class cannot be inherited.
public sealed class DataTransferRowCollection : IEnumerable<DataTransferRow>, IEnumerable
- Inheritance
-
DataTransferRowCollection
- Implements
Properties
ColumnNames
Gets the column names that is present in this DataTransferRow.
public IEnumerable<string> ColumnNames { get; }
Property Value
- IEnumerable<String>
The column names of a table-row in a database.
Count
Gets the number of elements contained in the ICollection<T>.
public int Count { get; }
Property Value
- Int32
The count.
Item[Int32]
Gets the DataTransferRow at the specified index.
public DataTransferRow this[int index] { get; }
Parameters
index
Int32The zero-based index of the row to return.
Property Value
- DataTransferRow
The specified DataTransferRow.
Methods
Contains(DataTransferRow)
Determines whether the ICollection<T> contains a specific value.
public bool Contains(DataTransferRow item)
Parameters
item
DataTransferRowThe object to locate in the ICollection<T>.
Returns
- Boolean
true if
item
is found in the ICollection<T>; otherwise, false.
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<DataTransferRow> GetEnumerator()
Returns
- IEnumerator<DataTransferRow>
A IEnumerator<T> that can be used to iterate through the collection.
IndexOf(DataTransferRow)
Determines the index of a specific item in the IList<T>.
public int IndexOf(DataTransferRow item)
Parameters
item
DataTransferRowThe object to locate in the IList<T>.
Returns
- Int32
The index of
item
if found in the list; otherwise, -1.
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()