DatabaseMappingDataRemoveEntityMapping Method (EntityDefinition, Boolean) |
Removes the entity mapping for the entity specified.
Namespace: SD.LLBLGen.Pro.ApplicationCore.MappingAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public void RemoveEntityMapping(
EntityDefinition entity,
bool onlyAutoCreated
)
Public Sub RemoveEntityMapping (
entity As EntityDefinition,
onlyAutoCreated As Boolean
)
Parameters
- entity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. - 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.
See Also