Click or drag to resize

BcfTableTRow, TOptions Class

[This is preliminary documentation and is subject to change.]

Generic base class for tables.
Inheritance Hierarchy
SystemObject
  CalculationWorks.BusinessModelBcfTable
    CalculationWorks.BusinessModelBcfTableTRow
      CalculationWorks.BusinessModelBcfTableTRow, TOptions
        CalculationWorks.BusinessModelBcfTableUntyped

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public abstract class BcfTable<TRow, TOptions> : BcfTable<TRow>
where TRow : BcfRow

Type Parameters

TRow
The row type.
TOptions
The table-options type.

The BcfTableTRow, TOptions type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyColumns
Gets all columns of this table; optimizer generated columns inclusive. A column-collection without optimizer-columns is Defined of returned collection.
(Inherited from BcfTable.)
Public propertyCount
Gets the number of elements in the collection.
(Inherited from BcfTableTRow.)
Public propertyDataSet
Gets the BcfDataSet the table belongs to.
(Inherited from BcfTable.)
Public propertyIndex
Gets the zero-based index of the table in BcfDataSet.Tables collection.
(Inherited from BcfTable.)
Public propertyItem
Gets the element at the specified index in the read-only list.
(Inherited from BcfTableTRow.)
Public propertyName
Gets the tables name.
(Inherited from BcfTable.)
Public propertyOptions
Gets or sets the table-options.
Public propertyPrimaryKey
Gets the tables primary key.
(Inherited from BcfTable.)
Public propertyRows
Gets the collection of rows of this table.
(Inherited from BcfTable.)
Public propertyRowType
Gets the Type of the rows.
(Inherited from BcfTableTRow.)
Public propertyRules
Gets the collection of rule-calculators in this table.
(Inherited from BcfTable.)
Public propertyShouldPersist
Gets a value indicating whether the rows should be persisted when saving data.
(Inherited from BcfTable.)
Public propertyToChildRelations
Gets the collection of relations where this table is parent end.
(Inherited from BcfTable.)
Public propertyToParentRelations
Gets the collection of relations where this table is child end.
(Inherited from BcfTable.)
Top
Methods
  NameDescription
Public methodAddNewRow
Creates a new BcfRow and adds it to the Rows.
(Inherited from BcfTableTRow.)
Public methodClear
Deletes all rows in Rows transactional.
(Inherited from BcfTable.)
Public methodContains
Determines whether the specified row is in this table.
(Inherited from BcfTableTRow.)
Public methodCreateNewRow
Returns a new row for the table. The row will not be added to the Rows collection before calling AddToTable. Until then the row is not part of the data. Calling CreateNewRow(Boolean) will not cause a data change nor create an undo item.
(Inherited from BcfTableTRow.)
Protected methodCreateRow
Creates a new row.
(Inherited from BcfTableTRow.)
Public methodDiff
Evalueates the difference between this an specified otherTable.
(Inherited from BcfTable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from BcfTableTRow.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOptions
Gets the table-options.
(Overrides BcfTableGetOptions.)
Public methodGetRowFromId
Gets the BcfRow with specified rowId.
(Inherited from BcfTableTRow.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of a specific item in the list.
(Inherited from BcfTable.)
Public methodLoad(IDictionaryString, Object, Boolean)
Loads the specified values into a row.
(Inherited from BcfTableTRow.)
Public methodLoad(Object, Boolean)
Loads the specified values into a row.
(Inherited from BcfTableTRow.)
Public methodLoad(BcfRow, BcfRowMergeOption, BcfRowComparisonMode, FuncBcfColumn, Boolean, Boolean)
Loads cell-values of specified sourceRow.
(Inherited from BcfTable.)
Public methodLoad(IEnumerableBcfRow, BcfRowMergeOption, BcfRowComparisonMode, FuncBcfColumn, Boolean, Boolean)
Loads cell-values of specified distinctSourceRows.
(Inherited from BcfTable.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetOptions
Sets the table-options.
(Overrides BcfTableSetOptions(Object).)
Public methodToString
Returns the tables Name property.
(Inherited from BcfTable.)
Public methodTryFindAdequateRow
Gets the adequate row of this table of specified row - or null if not found.
(Inherited from BcfTable.)
Public methodTryGetRowFromId(NullableInt32)
Gets the BcfRow with specified rowId.
(Inherited from BcfTableTRow.)
Public methodTryGetRowFromId(NullableInt32, BcfRow)
Gets the BcfRow associated with the specified row.
(Inherited from BcfTable.)
Top
See Also