IEntityCollectionSetContainingEntityInfo Method |
Sets the entity information of the entity object containing this collection. Call this method only from
entity classes which contain IEntityCollection members, like 'Customer' which contains 'Orders' entity collection.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax void SetContainingEntityInfo(
IEntity containingEntity,
string fieldName
)
Sub SetContainingEntityInfo (
containingEntity As IEntity,
fieldName As String
)
Parameters
- containingEntity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
The entity containing this entity collection as a member variable - fieldName
- Type: SystemString
The field the containing entity has mapped onto the relation which delivers the entities contained
in this collection
See Also