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

LookupFieldColumnDefinition..::..IsDistinct Method

Determines whether this column is distinct.

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

Syntax


public LookupFieldColumnDefinition IsDistinct(
	bool value
)
Public Function IsDistinct ( _
	value As Boolean _
) As LookupFieldColumnDefinition
public:
LookupFieldColumnDefinition^ IsDistinct(
	bool^ value
)

Parameters

value
Type: Boolean
if set to true [value].

Return Value

This object for fluent processing.

Exceptions


ExceptionCondition
ArgumentExceptionThe distinct value can only be set on primary key field columns where there are at least 2 fields in the primary key.