Click or drag to resize

ProjectGetOrCreateGroupableModelElementMapping Method (GroupableModelElement, IProjectElementMapTargetElement, Boolean)

Gets or creates the GroupableModelElement mapping for the element to map, for the database type related to the driver specified.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public GroupableModelElementMapping GetOrCreateGroupableModelElementMapping(
	GroupableModelElement element,
	IProjectElementMapTargetElement mappedTarget,
	bool onlyAutoCreated
)

Parameters

element
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelGroupableModelElement
The element.
mappedTarget
Type: SD.LLBLGen.Pro.DBDriverCoreIProjectElementMapTargetElement
The mapped target.
onlyAutoCreated
Type: SystemBoolean
if set to true it will only 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
GroupableModelElement mapping requested.
See Also