Click or drag to resize

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.7.0.0 (5.7.0)
Syntax
IEntity2 CreateEntityFromEntityTypeValue(
	int entityTypeValue
)

Parameters

entityTypeValue
Type: SystemInt32
The entity type value of the entity to create an instance for.

Return Value

Type: IEntity2
new IEntity2 instance
See Also