Click or drag to resize
CalculationWorks Logo
CalculationWorks.BusinessModel.Behaviors Namespace

Behaviors and behavior items are additional objects for special model elements.

Behavior items can provide additional features to model elements. You can also create custom behavior items to add meta data or modify built-in behavior items overriding their methods. The behavior items can be added with BCF Editor or in code by updating your BcfDatasetSetup before passing it as BcfDataSet constructor parameter.

A behavior groups behavior items and make them accessible as properties.

Types using behaviors are:

Classes
  ClassDescription
Public classBcfBehaviorT
Base class of all built-in behaviors.
Public classCode exampleBcfColumnBehavior
Represents the behavior for an individual BcfColumn.
Public classCode exampleBcfColumnBehaviorItemBase
Base class of all BcfColumnBehavior items.
Public classCode exampleBcfColumnDefaultValueFunctionT
Column behavior item to provide dynamic default values for an individual column. This class cannot be inherited.
Public classCode exampleBcfColumnDefaultValueSourceT
Column behavior item to provide default values for an individual column. This class cannot be inherited.
Public classCode exampleBcfColumnDefaultValueSourceBaseT
The column behavior item base class for column default value sources.
Public classBcfColumnNotNullConstraint
Column behavior item to disallow null value in columns. This class cannot be inherited.
Public classBcfColumnType
Column behavior item that defines the column value type of an individual column.
Public classCode exampleBcfColumnTypeConstraintT
Column behavior item that defines a type constraint for an individual column. This class cannot be inherited.
Public classCode exampleBcfColumnValueSetter
Column behavior item that processes the cell value set.
Public classBcfDataSetBehavior
Represents the behavior for an individual BcfDataSet.
Public classCode exampleBcfDataSetBehaviorItemBase
Base class of all BcfDataSetBehavior items.
Public classCode exampleBcfDataSetColumnBehaviorFactory
Dataset behavior item that creates the BcfColumnBehavior objects.
Public classBcfDataSetDataSetBehaviorFactory
Dataset behavior item that creates the BcfDataSetBehavior object.
Public classBcfDataSetDiagnostics
Class BcfDataSetDiagnostic.
Public classBcfDataSetParallelOptions
Class BcfDataSetParallelOptions.
Public classBcfDataSetParameterBehaviorFactory
Dataset behavior item that creates the BcfParameterBehavior objects.
Public classBcfDataSetRelationBehaviorFactory
Dataset behavior item that creates the BcfRelationBehavior objects.
Public classCode exampleBcfDataSetStateIdBehavior
This DataSetBehaviorItem manages time stamping the datasets states.
Public classBcfDataSetTableBehaviorFactory
Dataset behavior item that creates the BcfTableBehavior objects.
Public classBcfDataSetTableFactory
Dataset behavior item that creates the BcfTable objects. This class cannot be inherited.
Public classCode exampleBcfDataSetTransactionFactory
Dataset behavior item that creates the BcfTransaction objects.
Public classCode exampleBcfDataSetUndoRepository
Dataset behavior item that stores undo and redo information. This class cannot be inherited.
Public classBcfDataSetValidatorBehaviorFactory
Dataset behavior item that creates the BcfValidatorBehavior objects.
Public classBcfParameterArraySetterTFunction, TPropertyElement
Parameter behavior item to set parameter value arrays. This class cannot be inherited.
Public classBcfParameterBehavior
Represents the behavior for an individual BcfParameter.
Public classBcfParameterBehaviorItemBase
Base class of all BcfParameterBehavior items.
Public classBcfParameterValueSetterTFunction, TProperty
Parameter behavior item to set parameter values.
Public classBcfParameterValueSourceT
Generic parameter behavior item base class to provide default values to function or validator parameter properties.
Public classBcfParameterValueSourceBaseT
Non generic parameter behavior item base class to provide default values to function or validator parameter properties.
Public classBcfRelationBehavior
Represents the behavior for an individual BcfRelation.
Public classBcfRelationBehaviorItemBase
Base class of all BcfRelationBehavior items.
Public classBcfTableBehavior
Represents the behavior for an individual BcfTable.
Public classBcfTableBehaviorItemBase
Base class of all BcfTableBehavior items.
Public classBcfTablePrimaryKey
Table behavior item to add primary key features to a table. This class cannot be inherited.
Public classBcfValidatorBehavior
Represents the behavior for an individual BcfValidatorBase.
Public classBcfValidatorBehaviorItemBase
Base class of all BcfValidatorBehavior items.
Interfaces
  InterfaceDescription
Public interfaceIBcfColumnDefaultValueSource
Interface for column behavior items that provide default values for an individual column.
Public interfaceCode exampleIBcfColumnTypeConstraint
Interface for column behavior items that checks values immediately before they are written into the cells value property.
Public interfaceCode exampleIBcfColumnValueConverter
Interface for column behavior items that covert a value before it will be written into the cells value property.
Public interfaceCode exampleIBcfDataSetUndoRepository
Interface for dataset behavior items that acts as undo/redo repository.
Public interfaceIBcfParameterSetter
Interface for parameter behavior items to update a function or validator parameter property.
Public interfaceIBcfParameterValueSource
Interface for parameter behavior items to provide default values to function or validator parameter properties.
Examples