SaaS CMS has officially launched! Learn more now.

Class TableRow

Inheritance
System.Object
TableRow
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Sql
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class TableRow

Constructors

TableRow()

Declaration
protected TableRow()

TableRow(IDataReader)

Declaration
protected TableRow(IDataReader reader)
Parameters
Type Name Description
System.Data.IDataReader reader

TableRow(Int32)

Declaration
protected TableRow(int primaryKeyId)
Parameters
Type Name Description
System.Int32 primaryKeyId

Properties

ColumnCount

Declaration
protected int ColumnCount { get; }
Property Value
Type Description
System.Int32

ExtendedTables

Declaration
protected Table[] ExtendedTables { get; }
Property Value
Type Description
Table[]

Item[Int32]

Declaration
public object this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
System.Object

Item[String]

Declaration
public object this[string columnName] { get; set; }
Parameters
Type Name Description
System.String columnName
Property Value
Type Description
System.Object

State

Declaration
protected DataRowState State { get; set; }
Property Value
Type Description
System.Data.DataRowState

Table

Declaration
protected Table Table { get; }
Property Value
Type Description
Table

Values

Declaration
protected object[] Values { get; set; }
Property Value
Type Description
System.Object[]

Methods

CreateParameterList()

Declaration
protected SqlParameter[] CreateParameterList()
Returns
Type Description
System.Data.SqlClient.SqlParameter[]

GetExtendedTableInfo()

Declaration
protected virtual Table[] GetExtendedTableInfo()
Returns
Type Description
Table[]

GetTableInfo()

Declaration
protected virtual Table GetTableInfo()
Returns
Type Description
Table

IndexOf(String)

Declaration
protected int IndexOf(string ColumnName)
Parameters
Type Name Description
System.String ColumnName
Returns
Type Description
System.Int32

Load(IDataReader)

Declaration
public virtual void Load(IDataReader reader)
Parameters
Type Name Description
System.Data.IDataReader reader

LoadExtended(Table, Table)

Declaration
protected static ColumnCollection LoadExtended(Table original, Table current)
Parameters
Type Name Description
Table original
Table current
Returns
Type Description
ColumnCollection

Update()

Declaration
public virtual void Update()