Click or drag to resize

EntityCoreTFieldsIEntityCoreSetRelatedEntity Method

Sets the internal parameter related to the fieldname passed to the instance relatedEntity.

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
void IEntityCore.SetRelatedEntity(
	IEntityCore relatedEntity,
	string fieldName
)

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

Implements

IEntityCoreSetRelatedEntity(IEntityCore, String)
See Also