EntityCoreTFieldsOnRelatedEntitySet Method |
Method which is called at the end of the SetRelatedEntity() method. Usable to act on the fact that a related entity has been set.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax protected virtual void OnRelatedEntitySet(
IEntityCore relatedEntity,
string fieldName
)
Protected Overridable Sub OnRelatedEntitySet (
relatedEntity As IEntityCore,
fieldName As String
)
Parameters
- relatedEntity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The related entity. - fieldName
- Type: SystemString
Name of the field mapped onto the relation which resolves to the instance relatedEntity
See Also