TableOperationsTApplyRecordDefaultsFunction Method

Gets a delegate for the ApplyRecordDefaults(T) method for specified type T.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.137 -- Release Build+bf396311d630d9a0959afedb17412b40a2acb327
public static Action<T> ApplyRecordDefaultsFunction()

Return Value

ActionT
Delegate for the ApplyRecordDefaults(T) method.

Remarks

This method is useful to apply defaults values to an existing type T instance when no data connection is available, applying any modeled default values as specified by a DefaultValueAttribute or DefaultValueExpressionAttribute on the model properties.

See Also