Click or drag to resize

BcfColumnT Class

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

Represents a column in a BcfTable. This class cannot be inherited.
Inheritance Hierarchy

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta6
Syntax
public abstract class BcfColumn<T> : BcfColumn

Type Parameters

T
The value type.

The BcfColumnT type exposes the following members.

Properties
  NameDescription
Public propertyAllowNull
Gets a value indicating the cells allow null as Value.
(Overrides BcfColumnAllowNull.)
Public propertyColumnId
Gets the column identifier unique in BcfDataSet.
(Inherited from BcfColumn.)
Public propertyConverter
Gets or sets the convert function.
Public propertyDataType
Gets the not-nullable type of the cells Value property. If value type is a nullable struct; the type-argument of NullableT will be returned; otherwise ValueType.
(Inherited from BcfColumn.)
Public propertyDefaultValue
Gets or sets the default value.
Public propertyDefined
Gets a value indicating this column is explicit defined in Columns.
(Inherited from BcfColumn.)
Public propertyDiscardAction
Gets the discard action.
Public propertyEqualityComparer
Gets or sets the equality comparer.
Public propertyFormatter
Gets or sets the format function.
Public propertyFunction
Gets the BcfFunction used to calculate the values in this column.
Public propertyHasConverter
Gets a value indicating Converter is not null.
(Overrides BcfColumnHasConverter.)
Public propertyHasDefaultValue
Gets a value indicating DefaultValue is not null.
(Inherited from BcfColumn.)
Public propertyHasDiscardAction
Gets a value indicating DiscardAction is not null.
(Overrides BcfColumnHasDiscardAction.)
Public propertyHasFormatter
Gets a value indicating Formatter is not null.
(Overrides BcfColumnHasFormatter.)
Public propertyHasFunction
Gets a value indicating the cells Value is computed.
(Inherited from BcfColumn.)
Public propertyHasSequence
Gets a value indicating Sequence is not null.
(Overrides BcfColumnHasSequence.)
Public propertyHasSurrogateConverter
Gets a value indicating HasSurrogateConverter is not null.
(Overrides BcfColumnHasSurrogateConverter.)
Public propertyHasTrigger
Gets a value indicating Trigger is not null.
(Overrides BcfColumnHasTrigger.)
Public propertyHasValueConstraint
Gets a value indicating ValueConstraint is not null.
(Overrides BcfColumnHasValueConstraint.)
Public propertyIncludeInUndo
Gets a value indicating whether the column values are managed by undo-redo.
(Overrides BcfColumnIncludeInUndo.)
Public propertyIndex
Gets the zero-based index of the column in the Table.Columns-collection.
(Overrides BcfColumnIndex.)
Public propertyIsChildKeyColumn
Gets a value indicating the column is part of a child-key.
(Inherited from BcfColumn.)
Public propertyIsOptimizerColumn
Gets a value indicating whether this column is created by optimizer or not.
(Overrides BcfColumnIsOptimizerColumn.)
Public propertyIsParentKeyColumn
Gets a value indicating the column is part of a parent-key.
(Inherited from BcfColumn.)
Public propertyIsPrimaryKeyColumn
Gets a value indicating the column is part of tables PrimaryKey.
(Inherited from BcfColumn.)
Public propertyName
Gets the columns name.
(Inherited from BcfColumn.)
Public propertyOptions
Gets the column-options object.
(Inherited from BcfColumn.)
Public propertySequence
Gets the sequence.
Public propertyShouldPersist
Gets a value indicating whether the column values should be persisted when saving data.
(Overrides BcfColumnShouldPersist.)
Public propertyTable
Gets the BcfTable the column belongs to.
(Inherited from BcfColumn.)
Public propertyTrigger
Gets or sets the trigger action.
Public propertyValueConstraint
Gets or sets the value-constraint function.
Public propertyValueType
Gets the type of the cells Value property.
(Inherited from BcfColumn.)
Public propertyValueTypeIsClass
Gets a value indicating ValueType is a class.
(Inherited from BcfColumn.)
Public propertyValueTypeIsNotNullableStruct (Inherited from BcfColumn.)
Public propertyValueTypeIsNullableStruct (Inherited from BcfColumn.)
Top
Methods
  NameDescription
Public methodConvertAndFormat
Converts and formats the specified value as configured in Converter and Formatter and returns the result.
(Overrides BcfColumnConvertAndFormat(Object).)
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 methodGetDefaultValue
Get the DefaultValue
(Overrides BcfColumnGetDefaultValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextFromSequenceOrDefaultValue
Gets the next value from Sequence or if sequence is null the columns default value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns Name
(Inherited from BcfColumn.)
Public methodTryConvertAndFormat
Try to converts and formats the specified value as configured in Converter and Formatter.
(Overrides BcfColumnTryConvertAndFormat(Object, Object).)
Top
Version Information

BCF

Supported in: 4.0
See Also