Click or drag to resize

BcfTableTRow Class

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

Class BcfTable. The abstract base class for typed table classes.
Inheritance Hierarchy

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

Type Parameters

TRow
The type of the rows.

The BcfTableTRow type exposes the following members.

Constructors
  NameDescription
Protected methodBcfTableTRow
Initializes a new instance of the BcfTableTRow 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.
(Inherited from BcfTable.)
Public propertyCount
Gets the number of elements in the collection.
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.
Public propertyName
Gets the tables name.
(Inherited from BcfTable.)
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.
(Overrides BcfTableRowType.)
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.
Public methodClear
Deletes all rows in Rows transactional.
(Inherited from BcfTable.)
Public methodContains
Determines whether the specified row is in this table.
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.
Protected methodCreateRow
Creates a new row.
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOptions
Gets the table-options.
(Inherited from BcfTable.)
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.
(Inherited from BcfTable.)
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.
(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.
(Inherited from BcfTable.)
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.
Public methodTryGetRowFromId(NullableInt32, BcfRow)
Gets the BcfRow associated with the specified row.
(Inherited from BcfTable.)
Top
Extension Methods
  NameDescription
Public Extension MethodSelectManyTRow, TResult(FuncTRow, BcfReadOnlyArrayListTResult)Overloaded. (Defined by BcfReadOnlyArrayListExtensions.)
Public Extension MethodSelectManyTRow, TCollection, TResult(FuncTRow, BcfReadOnlyArrayListTCollection, FuncTRow, TCollection, TResult)Overloaded.
Projects each element of a sequence to an IEnumerableT, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.
(Defined by BcfReadOnlyArrayListExtensions.)
Top
See Also