Click or drag to resize

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)
Syntax
public IMapper GetParent(
	string parentKey,
	string parentRowKey,
	Flavors eFlavor
)

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: IMapper
The related mapper instance or null.
See Also