Click or drag to resize

TableOperationsTApplyRecordDefaultsFunction Method

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

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static Action<T> ApplyRecordDefaultsFunction()
View Source

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