RelatedMapperContext.GetParent 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)
Syntaxpublic 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: System.String
The mapper definition to use. - parentRowKey
- Type: System.String
The RowKey on which to filter the parent instance. - eFlavor
- Type: NetQuarry.Data.Flavors
Flavor the returned parent mapper if appropriate
Return Value
Type:
IMapperThe related mapper instance or null.
See Also