BcfTableTRow Class |
[This is preliminary documentation and is subject to change.]
Namespace: CalculationWorks.BusinessModel
public abstract class BcfTable<TRow> : BcfTable, IReadOnlyList<TRow>, IReadOnlyCollection<TRow>, IEnumerable<TRow>, IEnumerable where TRow : BcfRow
The BcfTableTRow type exposes the following members.
| Name | Description | |
|---|---|---|
| BcfTableTRow |
Initializes a new instance of the BcfTableTRow class.
|
| Name | Description | |
|---|---|---|
| Columns |
Gets all columns of this table; optimizer generated columns inclusive. A column-collection without optimizer-columns is Defined of returned collection.
(Inherited from BcfTable.) | |
| Count |
Gets the number of elements contained in the collection.
| |
| DataSet |
Gets the BcfDataSet the table belongs to.
(Inherited from BcfTable.) | |
| Index |
Gets the zero-based index of the table in BcfDataSet.Tables collection.
(Inherited from BcfTable.) | |
| Item |
Gets the row at the specified zero-based index.
| |
| Name |
Gets the tables name.
(Inherited from BcfTable.) | |
| Options |
Gets the table-options.
(Inherited from BcfTable.) | |
| PrimaryKey |
Gets the tables primary key.
(Inherited from BcfTable.) | |
| Rows |
Gets the collection of rows of this table.
(Inherited from BcfTable.) | |
| RowType |
Gets the Type of the rows.
(Overrides BcfTableRowType.) | |
| Rules |
Gets the collection of rule-calculators in this table.
(Inherited from BcfTable.) | |
| ShouldPersist |
Gets a value indicating whether the rows should be persisted when saving data.
(Inherited from BcfTable.) | |
| ToChildRelations |
Gets the collection of relations where this table is parent end.
(Inherited from BcfTable.) | |
| ToParentRelations |
Gets the collection of relations where this table is child end.
(Inherited from BcfTable.) |
| Name | Description | |
|---|---|---|
| AddNewRow | ||
| CreateNewRow |
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.
| |
| CreateRow |
Creates a new row.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetRowFromId |
Gets the BcfRow with specified rowId.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Gets the index of a specific item in the list.
(Inherited from BcfTable.) | |
| Load(IDictionaryString, Object, Boolean) |
Loads the specified values into a row.
| |
| Load(Object, Boolean) |
Loads the specified values into a row.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Returns the tables Name property.
(Inherited from BcfTable.) | |
| TryGetRowFromId |
Gets the BcfRow with specified rowId.
|