Click or drag to resize
InheritanceInfoProviderBaseAddEntityInfo Method (String, String, IRelationFactory, IEntityFactoryCore, Int32)
Adds a new entity to the store. The supertype name is enough to build the complete hierarchy.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax
protected void AddEntityInfo(
	string name,
	string superTypeName,
	IRelationFactory relationFactory,
	IEntityFactoryCore entityFactory,
	params int[] distinguishingFieldIndexes
)

Parameters

name
Type: SystemString
name of the entity to add, e.g. "CustomerEntity"
superTypeName
Type: SystemString
the name of the supertype of the passed in entity, e.g. "EmployeeEntity".
relationFactory
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationFactory
the relation factory of the entity with name, to produce relations to supertype and subtype.
entityFactory
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactoryCore
Entity factory.
distinguishingFieldIndexes
Type: SystemInt32
Distinguishing field indexes.
Remarks
TargetPerEntity specific version
See Also