IEntityFactoryCreate Method (IEntityFields) |
Creates a new
IEntity instance but uses a special constructor which will set the Fields object of the new
IEntity instance to the passed in fields object. Implement this method to support multi-type in single table inheritance.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax IEntity Create(
IEntityFields fields
)
Function Create (
fields As IEntityFields
) As IEntity
Parameters
- fields
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
Populated IEntityFields object for the new entity to create
Return Value
Type:
IEntityFully created and populated (due to the IEntityFields object) IEntity object
See Also