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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax protected void AddEntityInfo(
string name,
string superTypeName,
IRelationFactory relationFactory,
IEntityFactoryCore entityFactory,
params int[] distinguishingFieldIndexes
)
Protected Sub AddEntityInfo (
name As String,
superTypeName As String,
relationFactory As IRelationFactory,
entityFactory As IEntityFactoryCore,
ParamArray distinguishingFieldIndexes As Integer()
)
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