EntityCoreTFieldsSetRelatedEntity Method |
Sets the internal parameter related to the fieldname passed to the instance relatedEntity.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax protected abstract void SetRelatedEntity(
IEntityCore relatedEntity,
string fieldName
)
Protected MustOverride Sub SetRelatedEntity (
relatedEntity As IEntityCore,
fieldName As String
)
Parameters
- relatedEntity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
Instance to set as the related entity of type entityType - fieldName
- Type: SystemString
Name of field mapped onto the relation which resolves in the instance relatedEntity
See Also