Click or drag to resize
EntityCore<TFields>.OnRelatedEntityUnset Method
Method which is called at the end of the UnsetRelatedEntity() routine. Usable to act on the fact that an entity has been dereferenced as a related entity by the containing entity.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
protected virtual void OnRelatedEntityUnset(
	IEntityCore relatedEntity,
	string fieldName
)

Parameters

relatedEntity
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCore
The related entity.
fieldName
Type: System.String
Name of the field mapped onto the relation which resolves to the instance relatedEntity
See Also