AutoFillFieldDefinition..::..IsDistinct Method
Determines whether this auto fill is distinct.
Namespace:
RingSoft.DbLookup.AutoFillAssembly: 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
Exception | Condition |
---|---|
ArgumentException | The distinct value can only be set on primary key field auto fills where there are at least 2 fields in the primary key. |