Click or drag to resize
EntityFactoryCore2Create 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.2.0.0 (5.2.17.0403)
Syntax
public virtual 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

Implements

IEntityFactory2Create(IEntityFields2)
See Also