Click or drag to resize
IEntityFactoryCore Interface
Interface to define a common interface between the factory interfaces for adapter and selfservicing.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public interface IEntityFactoryCore

The IEntityFactoryCore type exposes the following members.

Properties
  NameDescription
Public propertyForEntityName
returns the name of the entity this factory is for, e.g. "EmployeeEntity"
Top
Methods
  NameDescription
Public methodCreate
Creates a new entity instance.
Public methodCreate(IEntityFieldsCore)
Creates a new entity instance but uses a special constructor which will set the Fields object of the new entity instance to the passed in fields object. Implement this method to support multi-type in single table inheritance.
Public methodCreateEntityCollection
Creates a new IEntityCollectionCore implementing collection for the entity to which this factory belongs.
Public methodCreateFields
Creates, using the generated EntityFieldsFactory, the IEntityFieldsCore object for the entity to create. This method is used by internal code to create the fields object to store fetched data.
Public methodCreateHierarchyFields
Creates the hierarchy fields for the entity to which this factory belongs.
Public methodCreateHierarchyFields(String)
Creates the hierarchy fields and sets all field's actual containing object name to the name specified.
Public methodCreateHierarchyRelations
Creates the relations collection to the entity to join all targets so this entity can be fetched. Uses string.Empty as alias.
Public methodCreateHierarchyRelations(String)
Creates the relations collection to the entity to join all targets so this entity can be fetched. Uses the passed in objectAlias as alias for the elements in the relations.
Public methodGetEntityFactory
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
Top
See Also