TypedMapperOpenNewT Method (IAppContext) |
Creates a new mapper and moves to a new record. The mapper is in the New state, ready to accept values.
No query is performed.
You must explicitly call
Close or
Dispose on the object after this call.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static T OpenNew<T>(
IAppContext appCxt
)
where T : new(), TypedMapper
Public Shared Function OpenNew(Of T As {New, TypedMapper}) (
appCxt As IAppContext
) As T
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context object.
Type Parameters
- T
- The class type for the object. This should be your topmost derived class.
Return Value
Type:
TA new instance of T positioned at a new record.
See Also