RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbLookup.Lookup Namespace
RingSoft.DbMaintenance Namespace

LookupJoin..::..SetJoinDefinition Method

Sets the join definition.

Namespace:  RingSoft.DbLookup.Lookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


protected internal void SetJoinDefinition(
	FieldDefinition foreignFieldDefinition
)
Protected Friend Sub SetJoinDefinition ( _
	foreignFieldDefinition As FieldDefinition _
)
protected public:
void SetJoinDefinition(
	FieldDefinition^ foreignFieldDefinition
)

Parameters

foreignFieldDefinition
Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The foreign field definition.

Exceptions


ExceptionCondition
ExceptionThere is no parent join definition for this field.
ExceptionField: '{foreignFieldDefinition}' is not in the lookup's table '{LookupDefinition.TableDefinition}'
ExceptionParent Field Definition's table definition is not the parent join's primary table.