MapperCreateAndLoad Method (String, IAppContext, Flavors, MapperAttrs) |
Creates and loads a basic mapper.
This overload does NOT requery.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static IMapper CreateAndLoad(
string key,
IAppContext appContext,
Flavors flavor,
MapperAttrs attributes
)
Public Shared Function CreateAndLoad (
key As String,
appContext As IAppContext,
flavor As Flavors,
attributes As MapperAttrs
) As IMapper
Parameters
- key
- Type: SystemString
The mapper key. - appContext
- Type: NetQuarryIAppContext
The application context object. - flavor
- Type: NetQuarry.DataFlavors
The optional flavor - attributes
- Type: NetQuarry.DataMapperAttrs
Attributes to add to the mapper before the requery
Return Value
Type:
IMapperThe new mapper.
See Also