Click or drag to resize

BcfRowViewRepositoryAddParentRowViewProperties Method

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

Adds parent-row properties.

Namespace:  CalculationWorks.ViewModel.Forms
Assembly:  CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 4.0.0-beta6
Syntax
public void AddParentRowViewProperties(
	BcfRelation relation,
	Func<string, bool> propertyFilter = null
)

Parameters

relation
Type: CalculationWorks.BusinessModelBcfRelation
The relation.
propertyFilter (Optional)
Type: SystemFuncString, Boolean
A function filtering the properties by name.
Exceptions
ExceptionCondition
ArgumentNullExceptionrelation is null.
ArgumentException

This collection is not child-end of specified relation

or

The table on relation parent end is not reflected by view-manager.

Remarks
The added property names are:
$"Parent-{ReflectedParentRelations.GetPropertyName(relation)}-{propertyName}"
Version Information

Forms

Supported in: 4.0
See Also