ProjectAddNewEntity Method (NewElementSpecifics) |
Adds a new entitydefinition to the project. It assumes the names passed in are valid.
Namespace: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
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