Click or drag to resize
CalculationWorks Logo
BcfTablePrimaryKey Class
Table behavior item to add primary key features to a table. This class cannot be inherited.
Inheritance Hierarchy

Namespace: CalculationWorks.BusinessModel.Behaviors
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 2.1.0.0
Syntax
public sealed class BcfTablePrimaryKey : BcfTableBehaviorItemBase

The BcfTablePrimaryKey type exposes the following members.

Constructors
  NameDescription
Public methodBcfTablePrimaryKey
Initializes a new instance of the BcfTablePrimaryKey class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFind
Finds the specified values.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyColumns
Gets the key columns.
Public propertyTable
Gets the BcfTable the item belongs to.
(Inherited from BcfTableBehaviorItemBase.)
Top
Remarks
At beginning and end of any transaction or subtransaction the constraint will be enforced. You can also call EnforceRelationConstraints. Within a transaction the primary key constraint can be temporary violated.
See Also