Click or drag to resize

BcfReflectedRowViewPropertyDescriptor Constructor

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

Infrastructure. The member supports the infrastructure and is not intended to be used directly from your code.

Namespace:  CalculationWorks.ViewModel.Forms
Assembly:  CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 4.0.0-beta7
Syntax
public BcfReflectedRowViewPropertyDescriptor(
	string targetPropertyName,
	string sourcePropertyName,
	BcfRelation relation,
	bool sourceTableIsParent,
	Predicate<BcfRowView> sourceRowViewFilter,
	Action<BcfRowView, Object> createSourceRowAndSetValue,
	Object noSourceRowViewValue,
	Action<BcfRowView, Object> setValueOrDeleteSourceRowView,
	bool readOnly,
	Type sourcePropertyType
)

Parameters

targetPropertyName
Type: SystemString
Name of the property to create.
sourcePropertyName
Type: SystemString
Name of the source property.
relation
Type: CalculationWorks.BusinessModelBcfRelation
The relation.
sourceTableIsParent
Type: SystemBoolean
The direction for relation access.
sourceRowViewFilter
Type: SystemPredicateBcfRowView
The source filter (used only if sourceTableIsParent is false.)
createSourceRowAndSetValue
Type: SystemActionBcfRowView, Object
Action creates the rowview and sets the value (only called if source-rowview not found).
noSourceRowViewValue
Type: SystemObject
Default value to return when no source-rowview is found.
setValueOrDeleteSourceRowView
Type: SystemActionBcfRowView, Object
Action setting the property value; deleting the sourcerow is supported.
readOnly
Type: SystemBoolean
The property appears as read-only.
sourcePropertyType
Type: SystemType
The property-type of source property.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetPropertyName, sourcePropertyName, relation or sourcePropertyType is null.
See Also