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

AutoFillFieldDefinition..::..IsDistinct Method

Determines whether this auto fill is distinct.

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

Syntax


public AutoFillFieldDefinition IsDistinct(
	bool value
)
Public Function IsDistinct ( _
	value As Boolean _
) As AutoFillFieldDefinition
public:
AutoFillFieldDefinition^ 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 auto fills where there are at least 2 fields in the primary key.