TableOperationsTNewRecordFunction Method

Gets a delegate for the NewRecord function for specified type T.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.110 -- Release Build+b4bcf74734aa051a9b802d8f3f6ec05bd02af749
public static Func<T> NewRecordFunction()

Return Value

FuncT
Delegate for the NewRecord function.

Remarks

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.

See Also