Click or drag to resize
EntityCore<TFields>.SetSingleRelatedEntityNavigator Method
Sets the single related entity navigator to the value (toSet) specified. This isn't done directly, but indirecly by the opposite entity

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
protected void SetSingleRelatedEntityNavigator(
	IEntityCore toSet,
	string navigatorNameInRelatedEntity,
	string navigatorNameInThis,
	IEntityCore currentValue,
	bool oppositeNavigatorIsPresent
)

Parameters

toSet
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCore
To set.
navigatorNameInRelatedEntity
Type: System.String
The navigator name in related entity.
navigatorNameInThis
Type: System.String
The navigator name in this.
currentValue
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCore
The current value.
oppositeNavigatorIsPresent
Type: System.Boolean
if set to true [opposite navigator is present].
See Also