ProjectAddNewEntity Method (String, String) |
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.8.0.0 (5.8.21.0208)
Syntax public EntityDefinition AddNewEntity(
string groupName,
string entityName
)
Public Function AddNewEntity (
groupName As String,
entityName As String
) As EntityDefinition
Parameters
- groupName
- Type: SystemString
Name of the group. - entityName
- Type: SystemString
Name of the entity.
Return Value
Type:
EntityDefinitionthe newly created entity definition instance, or null if the entity failed (e.g. due to the denial of a plugin)
See Also