Click or drag to resize
EntityFactoryCore2 Class
Abstract base class for entity factories. The class is suffixed with 'Core' as the generated code contains another base class, EntityFactoryBase2, which is the direct base class for the generated entity factories.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesEntityFactoryCore2

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
[SerializableAttribute]
public abstract class EntityFactoryCore2 : IEntityFactory2, 
	IEntityFactoryCore

The EntityFactoryCore2 type exposes the following members.

Constructors
  NameDescription
Protected methodEntityFactoryCore2
Initializes a new instance of the EntityFactoryCore2 class.
Top
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 IEntity2 instance
Public methodCreate(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.
Public methodCreateEntityCollection
Creates a new generic EntityCollection(Of T) for the entity to which this factory belongs.
Public methodCreateEntityFromEntityTypeValue
Creates a new entity instance using the GeneralEntityFactory in the generated code, using the passed in entitytype value
Public methodCreateFields
Creates, using the generated EntityFieldsFactory, the IEntityFields2 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 methodCreateHierarchyRelations
Creates the relations collection to the entity to join all targets so this entity can be fetched.
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEntityFactory
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
Public methodGetEntityTypeFilter(Boolean)
Gets a predicateexpression which filters on the entity with type belonging to this factory.
Public methodGetEntityTypeFilter(Boolean, String)
Gets a predicateexpression which filters on the entity with type belonging to this factory. Uses the passed in objectAlias for aliasing the elements in the filters.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEntityFactoryCoreCreate
Creates a new entity instance.
Explicit interface implementationPrivate methodIEntityFactoryCoreCreate(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.
Explicit interface implementationPrivate methodIEntityFactoryCoreCreateEntityCollection
Creates a new IEntityCollectionCore implementing collection for the entity to which this factory belongs.
Explicit interface implementationPrivate methodIEntityFactoryCoreCreateFields
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.
Explicit interface implementationPrivate methodIEntityFactoryCoreCreateHierarchyFields
Creates the hierarchy fields for the entity to which this factory belongs.
Explicit interface implementationPrivate methodIEntityFactoryCoreCreateHierarchyFields(String)
Creates the hierarchy fields and sets all field's actual containing object name to the name specified.
Explicit interface implementationPrivate methodIEntityFactoryCoreGetEntityFactory
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
Top
Remarks
Adapter specific
See Also