EntityFactoryCore2.CreateEntityFromEntityTypeValue 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)
Syntaxpublic virtual IEntity2 CreateEntityFromEntityTypeValue(
int entityTypeValue
)
Public Overridable Function CreateEntityFromEntityTypeValue (
entityTypeValue As Integer
) As IEntity2
Parameters
- entityTypeValue
- Type: System.Int32
The entity type value of the entity to create an instance for.
Return Value
Type:
IEntity2new IEntity2 instance
Implements
IEntityFactory2.CreateEntityFromEntityTypeValue(Int32)
See Also