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

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

Syntax

C#
[ObsoleteAttribute("Obsolete and replaced by DistinctFieldAutoAssignment to support both auto increment and automatically assigned globally unique identifiers.")]
protected virtual bool DistinctFieldAutoIncrements()
Visual Basic
<ObsoleteAttribute("Obsolete and replaced by DistinctFieldAutoAssignment to support both auto increment and automatically assigned globally unique identifiers.")> _
Protected Overridable Function DistinctFieldAutoIncrements As Boolean
Visual C++
protected:
[ObsoleteAttribute(L"Obsolete and replaced by DistinctFieldAutoAssignment to support both auto increment and automatically assigned globally unique identifiers.")]
virtual bool DistinctFieldAutoIncrements()

Return Value

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

Implements

IDatabaseObjects..::..DistinctFieldAutoIncrements()()()()

Examples

CopyC#
Protected Overrides Function DistinctFieldAutoIncrements() As Boolean

    Return True

End Function

See Also