ProjectAddNewEntity Method (String, String) |
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(
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