TableOperationsTNewRecordFunction Method
Gets a delegate for the
NewRecord function for specified type
T.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.137 -- Release Build+bf396311d630d9a0959afedb17412b40a2acb327
public static Func<T> NewRecordFunction()
Public Shared Function NewRecordFunction As Func(Of T)
public:
static Func<T>^ NewRecordFunction()
Gemstone.Data.Model.TableOperations.NewRecordFunction = function();
Return Value
FuncTDelegate for the
NewRecord function.
This method is useful to create a new 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.