EntityFactoryCore.IEntityFactoryCore.GetEntityFactory Method |
This method retrieves, using the InheritanceInfoprovider, the factory for the entity represented by the values passed in.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
SyntaxIEntityFactoryCore IEntityFactoryCore.GetEntityFactory(
Object[] fieldValues,
Dictionary<string, int> entityFieldStartIndexesPerEntity
)
Private Function GetEntityFactory (
fieldValues As Object(),
entityFieldStartIndexesPerEntity As Dictionary(Of String, Integer)
) As IEntityFactoryCore Implements IEntityFactoryCore.GetEntityFactory
Parameters
- fieldValues
- Type:System.Object[]
Field values read from the db, to determine which factory to return, based on the field values passed in. - entityFieldStartIndexesPerEntity
- Type: System.Collections.Generic.Dictionary<String, Int32>
indexes into values where per entity type their own fields start.
Return Value
Type:
IEntityFactoryCoreImplements
IEntityFactoryCore.GetEntityFactory(Object[], Dictionary<String, Int32>)
See Also