IEntityFactory Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IEntityFactory type exposes the following members.
Name | Description | |
---|---|---|
ForEntityName |
returns the name of the entity this factory is for, e.g. "EmployeeEntity"
(Inherited from IEntityFactoryCore.) | |
ForEntityType | Returns the actual .NET type this factory creates entities of (Inherited from IEntityFactoryCore.) |
Name | Description | |
---|---|---|
Create |
Creates a new IEntity instance
| |
Create(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.
| |
Create(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.
(Inherited from IEntityFactoryCore.) | |
CreateEntityCollection |
Creates a new entity collection for the entity of this factory.
| |
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 IEntityFields 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.
| |
CreateHierarchyFields(String) |
Creates the hierarchy fields and sets all field's actual containing object name to the name specified.
(Inherited from IEntityFactoryCore.) | |
CreateHierarchyRelations |
Creates the relations collection to the entity to join all targets so this entity can be fetched. Uses string.Empty as alias.
(Inherited from IEntityFactoryCore.) | |
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.
(Inherited from IEntityFactoryCore.) | |
GetEntityFactory |
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
|