IEntityCoreSetRelatedEntityProperty Method  | 
 
            Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection.
            
 
    Namespace: 
   SD.LLBLGen.Pro.ORMSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntaxvoid SetRelatedEntityProperty(
	string propertyName,
	IEntityCore entity
)
Sub SetRelatedEntityProperty ( 
	propertyName As String,
	entity As IEntityCore
)
Parameters
- propertyName
 - Type: SystemString
Name of the property. - entity
 - Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
Entity to set as an related entity 
RemarksUsed by prefetch path logic.
See Also