Click or drag to resize

BcfRelation Class

Represents a parent-child relationship between two tables.
Inheritance Hierarchy

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public abstract class BcfRelation

The BcfRelation type exposes the following members.

Properties
  NameDescription
Public propertyChildEndMaxConstraint
Gets a value indicating the maximum count of child rows a parent row may have.
Public propertyChildEndMinConstraint
Gets a value indicating the minimum count of child rows a parent row may have.
Public propertyChildKeyColumns
Gets the child key columns.
Public propertyChildRelationId
Gets the child relation identifier.
Public propertyChildTable
Gets the child BcfTable.
Public propertyDataSet
Gets the BcfDataSet the relation belongs to.
Public propertyDeleteRule
Gets or sets the delete action.
Public propertyHasKeyColumns
Gets a value indicating relation has key columns.
Public propertyHasParentEndNotNullConstraint
Gets a value indicating whether a child row must have a parent row or not.
Public propertyIndex
Gets the zero-based index of this BcfRelation in the datasets Relations collection.
Public propertyName
Gets the relation name.
Public propertyParentKeyColumns
Gets the parent key columns.
Public propertyParentRelationId
Gets the parent relation identifier.
Public propertyParentTable
Gets the parent BcfTable.
Public propertyToChildRelationIndex
Gets the zero-based index of this BcfRelation in ParentTable.ToChildRelations collection.
Public propertyToParentRelationIndex
Gets the zero-based index of this BcfRelation in ChildTable.ToParentRelations collection.
Public propertyUpdateRule
Gets or sets the update action.
Top
Methods
  NameDescription
Public methodAccept
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 methodFindChildRows
Returns child rows with matching key values.
Public methodFindParentRow
Returns parent row with matching key values.
Public methodFindParentRows
Returns parent rows with matching key values.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOptions
Gets the relation-options.
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 methodSetOptions
Sets the relation-options.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
BcfRelation supports - but does not require - key columns.
See Also