Click or drag to resize

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.4.0.0 (5.4.0)
Syntax
public EntityDefinition AddNewEntity(
	NewElementSpecifics elementSpecifics
)

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