EntityFactoryCore2 Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The EntityFactoryCore2 type exposes the following members.
Name | Description | |
---|---|---|
EntityFactoryCore2 |
Initializes a new instance of the EntityFactoryCore2 class.
|
Name | Description | |
---|---|---|
ForEntityName |
returns the name of the entity this factory is for, e.g. "EmployeeEntity"
| |
ForEntityType | Returns the actual .NET type this factory creates entities of |
Name | Description | |
---|---|---|
Create |
Creates a new IEntity2 instance
| |
Create(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.
| |
CreateEntityCollection |
Creates a new generic EntityCollection(Of T) for the entity to which this factory belongs.
| |
CreateEntityFromEntityTypeValue |
Creates a new entity instance using the GeneralEntityFactory in the generated code, using the passed in entitytype value
| |
CreateFields |
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.
| |
CreateHierarchyFields |
Creates the hierarchy fields for the entity to which this factory belongs.
| |
CreateHierarchyRelations |
Creates the relations collection to the entity to join all targets so this entity can be fetched.
| |
CreateHierarchyRelations(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.
| |
CreateImpl |
Implementation of the Create(fields) method. Called from Create(fields)
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEntityFactory |
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
| |
GetEntityTypeFilter(Boolean) |
Gets a predicateexpression which filters on the entity with type belonging to this factory.
| |
GetEntityTypeFilter(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.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnEntityCreated |
Method which is called from Create(fields), after the entity has been created. Receives the newly created entity.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IEntityFactoryCoreCreate |
Creates a new entity instance.
| |
IEntityFactoryCoreCreate(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.
| |
IEntityFactoryCoreCreateEntityCollection |
Creates a new IEntityCollectionCore implementing collection for the entity to which this factory belongs.
| |
IEntityFactoryCoreCreateFields |
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.
| |
IEntityFactoryCoreCreateHierarchyFields |
Creates the hierarchy fields for the entity to which this factory belongs.
| |
IEntityFactoryCoreCreateHierarchyFields(String) |
Creates the hierarchy fields and sets all field's actual containing object name to the name specified.
| |
IEntityFactoryCoreForEntityType | Returns the actual .NET type this factory creates entities of | |
IEntityFactoryCoreGetEntityFactory |
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
|