Specifies the field name that uniquely identifies each object within the collection. Typically, this is the field name of an identity or auto increment field in which case the bAutoIncrements value should be set to true.

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

Syntax

C#
public DistinctFieldAttribute(
	string strDistinctFieldName,
	FieldValueAutoAssignmentType eAutomaticAssignment
)
Visual Basic
Public Sub New ( _
	strDistinctFieldName As String, _
	eAutomaticAssignment As FieldValueAutoAssignmentType _
)
Visual C++
public:
DistinctFieldAttribute(
	String^ strDistinctFieldName, 
	FieldValueAutoAssignmentType eAutomaticAssignment
)

Parameters

strDistinctFieldName
Type: System..::..String

[Missing <param name="strDistinctFieldName"/> documentation for "M:DatabaseObjects.DistinctFieldAttribute.#ctor(System.String,DatabaseObjects.SQL.FieldValueAutoAssignmentType)"]

eAutomaticAssignment
Type: DatabaseObjects.SQL..::..FieldValueAutoAssignmentType

[Missing <param name="eAutomaticAssignment"/> documentation for "M:DatabaseObjects.DistinctFieldAttribute.#ctor(System.String,DatabaseObjects.SQL.FieldValueAutoAssignmentType)"]

See Also