Click or drag to resize

DatabaseMappingDataRemoveEntityMapping Method (EntityDefinition, Boolean)

Removes the entity mapping for the entity specified.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public void RemoveEntityMapping(
	EntityDefinition entity,
	bool onlyAutoCreated
)

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