Class GenericDataRow
Inheritance
System.Object
GenericDataRow
Assembly: fcSDK.dll
Syntax
public abstract class GenericDataRow : DataRow
Constructors
GenericDataRow(DataRowBuilder)
Declaration
protected GenericDataRow(DataRowBuilder rb)
Parameters
Type |
Name |
Description |
System.Data.DataRowBuilder |
rb |
|
Fields
forcedUpdateCols
Declaration
protected Dictionary<DataColumn, string> forcedUpdateCols
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Data.DataColumn, System.String> |
|
isAddForUpdate
Declaration
protected bool isAddForUpdate
Field Value
Type |
Description |
System.Boolean |
|
parentGeneric
Declaration
protected FCGeneric parentGeneric
Field Value
parentTable
Declaration
protected GenericDataTable parentTable
Field Value
Properties
BaseParentGeneric
Declaration
protected FCGeneric BaseParentGeneric { get; }
Property Value
ForcedUpdateColumns
Declaration
public DataColumn[] ForcedUpdateColumns { get; }
Property Value
Type |
Description |
System.Data.DataColumn[] |
|
IsAddForUpdate
Declaration
public bool IsAddForUpdate { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsNew
Declaration
public bool IsNew { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[DataColumn]
Declaration
public object this[DataColumn column] { get; set; }
Parameters
Type |
Name |
Description |
System.Data.DataColumn |
column |
|
Property Value
Type |
Description |
System.Object |
|
Item[DataColumn, DataRowVersion]
Declaration
public object this[DataColumn column, DataRowVersion version] { get; set; }
Parameters
Type |
Name |
Description |
System.Data.DataColumn |
column |
|
System.Data.DataRowVersion |
version |
|
Property Value
Type |
Description |
System.Object |
|
Item[Int32]
Declaration
public object this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Object |
|
Item[Int32, DataRowVersion]
Declaration
public object this[int index, DataRowVersion version] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Data.DataRowVersion |
version |
|
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 |
|
Item[String, DataRowVersion]
Declaration
public object this[string columnName, DataRowVersion version] { get; }
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
System.Data.DataRowVersion |
version |
|
Property Value
Type |
Description |
System.Object |
|
RowGuid
Declaration
public Guid RowGuid { get; }
Property Value
Type |
Description |
System.Guid |
|
UniqueID
Declaration
public object UniqueID { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
AreIDsEqual(Object, Object)
Declaration
public static bool AreIDsEqual(object id1, object id2)
Parameters
Type |
Name |
Description |
System.Object |
id1 |
|
System.Object |
id2 |
|
Returns
Type |
Description |
System.Boolean |
|
IsForcedUpdateColumn(DataColumn)
Declaration
public bool IsForcedUpdateColumn(DataColumn col)
Parameters
Type |
Name |
Description |
System.Data.DataColumn |
col |
|
Returns
Type |
Description |
System.Boolean |
|
ProcessGetColumn(Object, DataColumn)
Declaration
protected abstract object ProcessGetColumn(object obj, DataColumn column)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Data.DataColumn |
column |
|
Returns
Type |
Description |
System.Object |
|
ProcessSetColumn(Object, DataColumn)
Declaration
protected abstract void ProcessSetColumn(object obj, DataColumn column)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Data.DataColumn |
column |
|
RelateByID(Object, String)
Declaration
public void RelateByID(object uniqueId, string relationName)
Parameters
Type |
Name |
Description |
System.Object |
uniqueId |
|
System.String |
relationName |
|
RelateRecord(GenericDataRow, String)
Declaration
public void RelateRecord(GenericDataRow otherRow, string relationName)
Parameters
Type |
Name |
Description |
GenericDataRow |
otherRow |
|
System.String |
relationName |
|
RelateToIntField(GenericDataRow, String)
Declaration
public void RelateToIntField(GenericDataRow otherRow, string intFieldName)
Parameters
Type |
Name |
Description |
GenericDataRow |
otherRow |
|
System.String |
intFieldName |
|
SetBaseColumn(DataColumn, Object)
Declaration
protected void SetBaseColumn(DataColumn column, object fieldValue)
Parameters
Type |
Name |
Description |
System.Data.DataColumn |
column |
|
System.Object |
fieldValue |
|
Unrelate(GenericDataRow, String)
Declaration
public void Unrelate(GenericDataRow otherRow, string relationName)
Parameters
Type |
Name |
Description |
GenericDataRow |
otherRow |
|
System.String |
relationName |
|
UnrelateFromAll(String)
Declaration
public void UnrelateFromAll(string relationName)
Parameters
Type |
Name |
Description |
System.String |
relationName |
|
Update()
Declaration
Update(UpdateQueryBatch)
Declaration
public void Update(UpdateQueryBatch batch)
Parameters
Update(IDbTransaction)
Declaration
public void Update(IDbTransaction trans)
Parameters
Type |
Name |
Description |
System.Data.IDbTransaction |
trans |
|