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

ForeignKeyDefinition..::..AddFieldJoin Method

Adds a field join to the FieldJoins list.

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

Syntax


public ForeignKeyDefinition AddFieldJoin(
	FieldDefinition primaryField,
	FieldDefinition foreignField,
	bool addChildField
)
Public Function AddFieldJoin ( _
	primaryField As FieldDefinition, _
	foreignField As FieldDefinition, _
	addChildField As Boolean _
) As ForeignKeyDefinition
public:
ForeignKeyDefinition^ AddFieldJoin(
	FieldDefinition^ primaryField, 
	FieldDefinition^ foreignField, 
	bool^ addChildField
)

Parameters

primaryField
Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The primary field.
foreignField
Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The foreign field.
addChildField
Type: Boolean
if set to true [add child field].

Return Value

This object.