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