Click or drag to resize

IEntityFactory2Create Method (IEntityFields2)

Creates a new IEntity2 instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object. Implement this method to support multi-type in single table inheritance.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
IEntity2 Create(
	IEntityFields2 fields
)

Parameters

fields
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields2
Populated IEntityFields2 object for the new entity2 to create

Return Value

Type: IEntity2
Fully created and populated (due to the IEntityFields2 object) IEntity2 object
See Also