IEntityFactory2CreateEntityFromEntityTypeValue Method |
Creates a new entity instance using the GeneralEntityFactory in the generated code, using the passed in entitytype value
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax IEntity2 CreateEntityFromEntityTypeValue(
int entityTypeValue
)
Function CreateEntityFromEntityTypeValue (
entityTypeValue As Integer
) As IEntity2
Parameters
- entityTypeValue
- Type: SystemInt32
The entity type value of the entity to create an instance for.
Return Value
Type:
IEntity2new IEntity2 instance
See Also