ProjectAddNewEntity Method (NewElementSpecifics) |
Adds a new entitydefinition to the project. It assumes the names passed in are valid.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public EntityDefinition AddNewEntity(
NewElementSpecifics elementSpecifics
)
Public Function AddNewEntity (
elementSpecifics As NewElementSpecifics
) As EntityDefinition
Parameters
- elementSpecifics
- Type: SD.LLBLGen.Pro.ApplicationCore.GeneralDataStructuresNewElementSpecifics
The element specifics.
Return Value
Type:
EntityDefinition
the newly created entity definition instance, or null if the entity failed (e.g. due to the denial of a plugin)
See Also