Click or drag to resize

BcfRelationTOptions Class

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

Represents a parent-child relationship between two tables.
Inheritance Hierarchy
SystemObject
  CalculationWorks.BusinessModelBcfRelation
    CalculationWorks.BusinessModelBcfRelationTOptions

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public class BcfRelation<TOptions> : BcfRelation

Type Parameters

TOptions
The rule-options type.

The BcfRelationTOptions type exposes the following members.

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