DatabaseMappingDataFindEntityMappingByEntity Method |
Finds the entity mapping of the entity specified. An entity can have one entity mapping per target database type.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public EntityMapping FindEntityMappingByEntity(
EntityDefinition mappedEntity,
bool desiredIsAutoCreatedFlagValue
)
Public Function FindEntityMappingByEntity (
mappedEntity As EntityDefinition,
desiredIsAutoCreatedFlagValue As Boolean
) As EntityMapping
Parameters
- mappedEntity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The mapped entity. - 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:
EntityMapping
the entity mapping requested, or null if not found
See Also