TypedColumnBasedataTypeBindValueToColumnChange Method

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

Definition

Namespace: Firefly.Box.Data.Advanced
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public TypedColumnBase<dataType> BindValueToColumnChange(
	Func<dataType> expression,
	params ColumnBase[] affectingColumns
)

Parameters

expression  FuncdataType
The expression to use
affectingColumns  ColumnBase
The columns that will be monitored for change

Return Value

TypedColumnBasedataType

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(FuncdataType)

See Also