Click or drag to resize

BcfTable Class

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

Represents a table.
Inheritance Hierarchy

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public abstract class BcfTable

The BcfTable type exposes the following members.

Constructors
  NameDescription
Protected methodBcfTable
Initializes a new instance of the BcfTable class.
Top
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.
Public propertyDataSet
Gets the BcfDataSet the table belongs to.
Public propertyIndex
Gets the zero-based index of the table in BcfDataSet.Tables collection.
Public propertyItem
Gets the row at the specified zero-based index.
Public propertyName
Gets the tables name.
Public propertyPrimaryKey
Gets the tables primary key.
Public propertyRows
Gets the collection of rows of this table.
Public propertyRowType
Gets the Type of the rows.
Public propertyRules
Gets the collection of rule-calculators in this table.
Public propertyShouldPersist
Gets a value indicating whether the rows should be persisted when saving data.
Public propertyToChildRelations
Gets the collection of relations where this table is parent end.
Public propertyToParentRelations
Gets the collection of relations where this table is child end.
Top
Methods
  NameDescription
Public methodAddNewRow
Creates a new BcfRow and adds it to the Rows.
Public methodClear
Deletes all rows in Rows transactional.
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.
Public methodDiff
Evalueates the difference between this an specified otherTable.
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
Gets an enumerator that can be used to iterate through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOptions
Gets the table-options.
Public methodGetRowFromId
Gets the BcfRow with specified rowId.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of a specific item in the list.
Public methodLoad(IDictionaryString, Object, Boolean)
Loads the specified values into a row.
Public methodLoad(Object, Boolean)
Loads the specified values into a row.
Public methodLoad(BcfRow, BcfRowMergeOption, BcfRowComparisonMode, FuncBcfColumn, Boolean, Boolean)
Loads cell-values of specified sourceRow.
Public methodLoad(IEnumerableBcfRow, BcfRowMergeOption, BcfRowComparisonMode, FuncBcfColumn, Boolean, Boolean)
Loads cell-values of specified distinctSourceRows.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetOptions
Sets the table-options.
Public methodToString
Returns the tables Name property.
(Overrides ObjectToString.)
Public methodTryFindAdequateRow
Gets the adequate row of this table of specified row - or null if not found.
Public methodTryGetRowFromId(NullableInt32)
Gets the BcfRow with specified rowId.
Public methodTryGetRowFromId(NullableInt32, BcfRow)
Gets the BcfRow associated with the specified row.
Top
See Also