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

Sets an expression that will be used for the value of this column

Namespace:  Firefly.Box.Data.Advanced
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: 3.4.23.6473 (3.4.23.6473)

Syntax

C#
public void BindValueToColumnChange(
	Func<dataType> expression,
	params ColumnBase[] affectingColumns
)
Visual Basic (Declaration)
Public Sub BindValueToColumnChange ( _
	expression As Func(Of dataType), _
	ParamArray affectingColumns As ColumnBase() _
)
Visual C++
public:
void BindValueToColumnChange(
	Func<dataType>^ expression, 
	... array<ColumnBase^>^ affectingColumns
)

Parameters

expression
Type: System..::.Func<(Of <(dataType>)>)
The expression to use
affectingColumns
Type: array< Firefly.Box.Data.Advanced..::.ColumnBase >[]()[]
The columns that will be monitored for change

Remarks

The expression specified will determine the column's value in one of the following scenarios: The expression specified will determine the column's value in one of the following scenarios:
  • The column is bound to an entity, and a new row is created
  • The column is NOT bound to an entity, and a row is entered
  • The value of one of the columns specified in the affecting columns parameter changed.
For more information see BindValue(Func<(Of <(dataType>)>))

See Also