Click or drag to resize

LinqUtilsSetProperHintForJoin Method

Sets the proper hint for join in the relation passed in. It will set it to left join if the start entity is the fk side and the fk is nullable In all other cases it will stay Inner. It doesn't matter if the start entity is the PK side and the FK side is nullable: a left join or inner join will result in the same resultset. We can't do a right-join here as that would join towards the related entity and it would lead to nulls in the start entity which is the start of the navigation.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public static void SetProperHintForJoin(
	IEntityRelation relation
)

Parameters

relation
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
The relation.
See Also