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.4.0.0 (5.4.0)
Syntax IEntity2 Create(
IEntityFields2 fields
)
Function Create (
fields As IEntityFields2
) As IEntity2
Parameters
- fields
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields2
Populated IEntityFields2 object for the new entity2 to create
Return Value
Type:
IEntity2Fully created and populated (due to the IEntityFields2 object) IEntity2 object
See Also