Click or drag to resize

EntityCollectionBase2TEntitySetContainingEntityInfo Method

Sets the entity information of the entity object containing this collection. Call this method only from entity classes which contain EntityCollection 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.11.0.0 (5.11.23.1114)
Syntax
public void SetContainingEntityInfo(
	IEntity2 containingEntity,
	string fieldName
)

Parameters

containingEntity
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
The entity containing this entity collection as a member variable
fieldName
Type: SystemString
The field the related entity has mapped onto the relation which delivers the entities contained in this collection

Implements

IEntityCollection2SetContainingEntityInfo(IEntity2, String)
See Also