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.10.0.0 (5.10.0)
Syntax public GroupableModelElementMapping FindMappingByElement(
GroupableModelElement element,
bool desiredIsAutoCreatedFlagValue
)
Public Function FindMappingByElement (
element As GroupableModelElement,
desiredIsAutoCreatedFlagValue As Boolean
) As GroupableModelElementMapping
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:
GroupableModelElementMappingthe mapping requested or null if not found
See Also