CalculationWorks Logo
BcfColumnNotNullConstraint ClassCalculationWorks BCF Library 1.1 for .NET Framework 4.5

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

Column behavior item to disallow null value in columns. This class cannot be inherited.
Inheritance Hierarchy

SystemObject
  CalculationWorks.BusinessModel.BehaviorsBcfColumnBehaviorItemBase
    CalculationWorks.BusinessModel.BehaviorsBcfColumnNotNullConstraint

Namespace: CalculationWorks.BusinessModel.Behaviors
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax

public sealed class BcfColumnNotNullConstraint : BcfColumnBehaviorItemBase, 
	IBcfColumnTypeConstraint

The BcfColumnNotNullConstraint type exposes the following members.

Constructors

  NameDescription
Public methodBcfColumnNotNullConstraint
Initializes a new instance of the BcfColumnNotNullConstraint class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid
Determines whether the specified value is valid.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyColumn
Gets the BcfColumn the item belongs to.
(Inherited from BcfColumnBehaviorItemBase.)
Top
Remarks

A column with a NotNullConstraint will not accept null values. It is recommended to add this constraint to all column with a structure as PropertyType to avoid unexpected behavior.
See Also

Reference