Class ClarifyGeneric
Inheritance
System.Object
ClarifyGeneric
Implements
System.Collections.ICollection
System.Collections.IEnumerable
System.ComponentModel.IListSource
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()
Assembly: fcSDK.dll
Syntax
public class ClarifyGeneric : FCGeneric, ICollection, IEnumerable, IListSource
Constructors
ClarifyGeneric(ClarifyDataSet)
Declaration
protected ClarifyGeneric(ClarifyDataSet parentData)
Parameters
ClarifyGeneric(ClarifyDataSet, ClarifyGeneric, String)
Declaration
protected ClarifyGeneric(ClarifyDataSet parentData, ClarifyGeneric parent, string relationName)
Parameters
ClarifyGeneric(ClarifyDataSet, Int32, String, String)
Declaration
protected ClarifyGeneric(ClarifyDataSet parentData, int rootObjId, string rootObjName, string relFromParent)
Parameters
Type |
Name |
Description |
ClarifyDataSet |
parentData |
|
System.Int32 |
rootObjId |
|
System.String |
rootObjName |
|
System.String |
relFromParent |
|
ClarifyGeneric(ClarifyDataSet, String)
Declaration
protected ClarifyGeneric(ClarifyDataSet parentData, string tableName)
Parameters
Type |
Name |
Description |
ClarifyDataSet |
parentData |
|
System.String |
tableName |
|
Fields
GuidColumnName
Declaration
public static readonly string GuidColumnName
Field Value
Type |
Description |
System.String |
|
Properties
DataSet
Declaration
public ClarifyDataSet DataSet { get; }
Property Value
DefaultObjectIdValue
Declaration
protected override object DefaultObjectIdValue { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
Item[Int32]
Declaration
public ClarifyDataRow this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Log
Declaration
protected override Logger Log { get; }
Property Value
Overrides
ObjectIdFieldName
Declaration
protected override string ObjectIdFieldName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ParentGeneric
Declaration
public ClarifyGeneric ParentGeneric { get; }
Property Value
ParentRelation
Declaration
public SchemaRelation ParentRelation { get; }
Property Value
Results
Declaration
protected ClarifyDataTable Results { get; }
Property Value
Rows
Declaration
public ClarifyRowCollection Rows { get; }
Property Value
SchemaTable
Declaration
public SchemaTableBase SchemaTable { get; }
Property Value
SearchableFieldPrefix
Declaration
public override string SearchableFieldPrefix { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Session
Declaration
public ClarifySession Session { get; }
Property Value
Methods
AddColumn(DataTable, SchemaRelation)
Declaration
protected DataColumn AddColumn(DataTable dt, SchemaRelation rel)
Parameters
Returns
Type |
Description |
System.Data.DataColumn |
|
AddColumn(DataTable, ISchemaField)
Declaration
protected DataColumn AddColumn(DataTable dt, ISchemaField field)
Parameters
Type |
Name |
Description |
System.Data.DataTable |
dt |
|
ISchemaField |
field |
|
Returns
Type |
Description |
System.Data.DataColumn |
|
AddColumn(DataTable, String)
Declaration
protected DataColumn AddColumn(DataTable dt, string fieldName)
Parameters
Type |
Name |
Description |
System.Data.DataTable |
dt |
|
System.String |
fieldName |
|
Returns
Type |
Description |
System.Data.DataColumn |
|
AddForUpdate(Int32)
Declaration
public ClarifyDataRow AddForUpdate(int objId)
Parameters
Type |
Name |
Description |
System.Int32 |
objId |
|
Returns
AddNew()
Declaration
public ClarifyDataRow AddNew()
Returns
AddNew(ClarifyDataRow)
Declaration
public ClarifyDataRow AddNew(ClarifyDataRow rowToDuplicate)
Parameters
Returns
AssignAllObjIDs(ClarifyDataRow[])
Declaration
public void AssignAllObjIDs(ClarifyDataRow[] rows)
Parameters
BuildObjIdString(SqlHelper, String, String, Int32[])
Declaration
protected string BuildObjIdString(SqlHelper dbHelper, string fieldName, string format, int[] relatedObjIds)
Parameters
Type |
Name |
Description |
SqlHelper |
dbHelper |
|
System.String |
fieldName |
|
System.String |
format |
|
System.Int32[] |
relatedObjIds |
|
Returns
Type |
Description |
System.String |
|
BuildSortStatement()
Declaration
protected string BuildSortStatement()
Returns
Type |
Description |
System.String |
|
BuildSortStatement(Boolean)
Declaration
protected string BuildSortStatement(bool includePrefix)
Parameters
Type |
Name |
Description |
System.Boolean |
includePrefix |
|
Returns
Type |
Description |
System.String |
|
CreateEmptyMtmTable(ClarifyGeneric, SchemaRelation)
Declaration
protected ClarifyDataTable CreateEmptyMtmTable(ClarifyGeneric childGeneric, SchemaRelation relation)
Parameters
Returns
CreateTraversedGeneric(String)
Declaration
protected virtual ClarifyGeneric CreateTraversedGeneric(string relationName)
Parameters
Type |
Name |
Description |
System.String |
relationName |
|
Returns
DeleteById(Int32)
Declaration
public void DeleteById(int objId)
Parameters
Type |
Name |
Description |
System.Int32 |
objId |
|
GetRelation(ClarifyGeneric, out Boolean, out Boolean)
Declaration
protected ISchemaRelation GetRelation(ClarifyGeneric otherGeneric, out bool thisIsDBParent, out bool thisIsParentGeneric)
Parameters
Type |
Name |
Description |
ClarifyGeneric |
otherGeneric |
|
System.Boolean |
thisIsDBParent |
|
System.Boolean |
thisIsParentGeneric |
|
Returns
GetRelationName(ClarifyGeneric, ClarifyGeneric, ISchemaRelation)
Declaration
protected static string GetRelationName(ClarifyGeneric parentGen, ClarifyGeneric childGen, ISchemaRelation rel)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
protected override GenericDataRow PerformAddNew()
Returns
Overrides
Declaration
protected override void PerformAssignObjID(GenericDataRow row)
Parameters
Overrides
Declaration
protected override void PerformDeletes(IDictionary<Guid, GenericDataRow> deletedRows, UpdateQueryBatch batch)
Parameters
Overrides
Declaration
protected override void PerformSetTableName(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Overrides
Declaration
protected override void PerformUpdate(GenericDataRow row, UpdateQueryBatch batch)
Parameters
Overrides
Query()
Declaration
public override void Query()
Overrides
Query(IDbTransaction)
Declaration
public override void Query(IDbTransaction transaction)
Parameters
Type |
Name |
Description |
System.Data.IDbTransaction |
transaction |
|
Overrides
RelateGeneric(FCGeneric, ISchemaRelation)
Declaration
protected override void RelateGeneric(FCGeneric childGeneric, ISchemaRelation relation)
Parameters
Overrides
SetupDataTable()
Declaration
protected override void SetupDataTable()
Overrides
Traverse(String)
Declaration
public ClarifyGeneric Traverse(string relationName)
Parameters
Type |
Name |
Description |
System.String |
relationName |
|
Returns
TraverseFromParent(ClarifyGeneric, String)
Declaration
public void TraverseFromParent(ClarifyGeneric parentGeneric, string relationName)
Parameters
Type |
Name |
Description |
ClarifyGeneric |
parentGeneric |
|
System.String |
relationName |
|
TraverseFromRoot(Int32, String, String)
Declaration
public void TraverseFromRoot(int rootObjID, string rootObject, string relationName)
Parameters
Type |
Name |
Description |
System.Int32 |
rootObjID |
|
System.String |
rootObject |
|
System.String |
relationName |
|
WasRowAdded(GenericDataRow)
Declaration
protected bool WasRowAdded(GenericDataRow row)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.Collections.ICollection
System.Collections.IEnumerable
System.ComponentModel.IListSource