Should return whether the Distinct field as specified in the associated collection's DatabaseObject.DistinctField is an identity field (Autonumber in Microsoft Access) or is a unique identifier field. If set to either value then the IDatabaseObject.DistinctValue value is automatically set when a new object is saved.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected virtual FieldValueAutoAssignmentType DistinctFieldAutoAssignment()
Visual Basic
Protected Overridable Function DistinctFieldAutoAssignment As FieldValueAutoAssignmentType
Visual C++
protected:
virtual FieldValueAutoAssignmentType DistinctFieldAutoAssignment()

Return Value

[Missing <returns> documentation for "M:DatabaseObjects.DatabaseObjects.DistinctFieldAutoAssignment"]

Implements

IDatabaseObjects..::..DistinctFieldAutoAssignment()()()()

Examples

CopyC#
Protected Overrides Function DistinctFieldAutoAssignment() As SQL.FieldValueAutoAssignmentType

    Return SQL.FieldValueAutoAssignmentType.AutoIncrement

End Function

See Also