RelatedMapperContextGetParent Method (String, String, Flavors) |
Gets the parent mapper instance, if any, using the specified mapper definition
and filtered on the specified RowKey.
If the current related mapper is know it is returned, else an attempt
is made to instantiate one and filter it for the current item.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public IMapper GetParent(
string parentKey,
string parentRowKey,
Flavors eFlavor
)
Public Function GetParent (
parentKey As String,
parentRowKey As String,
eFlavor As Flavors
) As IMapper
Parameters
- parentKey
- Type: SystemString
The mapper definition to use. - parentRowKey
- Type: SystemString
The RowKey on which to filter the parent instance. - eFlavor
- Type: NetQuarry.DataFlavors
Flavor the returned parent mapper if appropriate
Return Value
Type:
IMapperThe related mapper instance or null.
See Also