|
TableOperationsTApplyRecordDefaultsFunction Method
|
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static Action<T> ApplyRecordDefaultsFunction()
Public Shared Function ApplyRecordDefaultsFunction As Action(Of T)
public:
static Action<T>^ ApplyRecordDefaultsFunction()
static member ApplyRecordDefaultsFunction : unit -> Action<'T>
GSF.Data.Model.TableOperations.ApplyRecordDefaultsFunction = function();
View SourceReturn Value
ActionTDelegate 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