TypedMapperOpenNewT Method (IAppContext, Flavors) |
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,
Flavors flavors
)
where T : new(), TypedMapper
Public Shared Function OpenNew(Of T As {New, TypedMapper}) (
appCxt As IAppContext,
flavors As Flavors
) As T
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context object - flavors
- Type: NetQuarry.DataFlavors
Flavors
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