TableOperationsTApplyRecordDefaultsFunction Method
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.150 -- Release Build+539c8e20daab1f37d91aaa1ede2f080b59c0c784
public static Action<T> ApplyRecordDefaultsFunction()
Public Shared Function ApplyRecordDefaultsFunction As Action(Of T)
public:
static Action<T>^ ApplyRecordDefaultsFunction()
Gemstone.Data.Model.TableOperations.ApplyRecordDefaultsFunction = function();
Return Value
ActionTDelegate for the
ApplyRecordDefaults(T) method.
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.