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

TableDefinitionBase..::..AddFieldToPrimaryKey Method

Adds the field to primary key.

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

Syntax


public TableDefinitionBase AddFieldToPrimaryKey(
	FieldDefinition fieldDefinition
)
Public Function AddFieldToPrimaryKey ( _
	fieldDefinition As FieldDefinition _
) As TableDefinitionBase
public:
TableDefinitionBase^ AddFieldToPrimaryKey(
	FieldDefinition^ fieldDefinition
)

Parameters

fieldDefinition
Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The field definition.

Return Value

TableDefinitionBase.