MapperCreateAndLoad Method (String, IAppContext, Flavors, MapperAttrs, String) |
Creates and loads a basic mapper.
This overload takes a Filter parameter and DOES requery, but does NOT
MoveFirst.
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,
string filter
)
Public Shared Function CreateAndLoad (
key As String,
appContext As IAppContext,
flavor As Flavors,
attributes As MapperAttrs,
filter As String
) 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 - filter
- Type: SystemString
Static Filter to add to the mapper before Requery
Return Value
Type:
IMapperThe new mapper.
Remarks
Note that this overload of CreateAndLoad() (taking a filter, but no requery flag) always requeries the mapper.
See Also