Click or drag to resize
DatabaseMappingDataFindMappingByElement Method
Finds the GroupableModelElement mapping of the element specified. An element can bave 1 mapping per target database type.

Namespace: SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public GroupableModelElementMapping FindMappingByElement(
	GroupableModelElement element,
	bool desiredIsAutoCreatedFlagValue
)

Parameters

element
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelGroupableModelElement
The element.
desiredIsAutoCreatedFlagValue
Type: SystemBoolean
if set to true it will look into the auto-created mapping objects. Auto-created mapping objects are mapping objects created by other elements in the system, not by a user action. Example of auto-created mapping is the mapping of a return element of a TVF call.

Return Value

Type: GroupableModelElementMapping
the mapping requested or null if not found
See Also