ModelInfoProviderBaseAddEntityInfo Method (String, String, IEntityFactoryCore, Int32, Object) |
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.9.0.0 (5.9.0)
Syntax protected void AddEntityInfo(
string name,
string superTypeName,
IEntityFactoryCore entityFactory,
int discriminatorColumnIndex,
Object discriminatorColumnValue
)
Protected Sub AddEntityInfo (
name As String,
superTypeName As String,
entityFactory As IEntityFactoryCore,
discriminatorColumnIndex As Integer,
discriminatorColumnValue As Object
)
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". - entityFactory
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactoryCore
Entity factory. - discriminatorColumnIndex
- Type: SystemInt32
Index of the discriminator column. - discriminatorColumnValue
- Type: SystemObject
Discriminator column value which distinguishes this entity
Remarks TargetPerEntityHierarchy specific version
See Also