Click or drag to resize
EntityFactoryCore2CreateEntityFromEntityTypeValue 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.1.0.0 (5.1.0)
Syntax
public virtual 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

Implements

IEntityFactory2CreateEntityFromEntityTypeValue(Int32)
See Also