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,
	bool bAutoIncrements
)
Visual Basic
Public Sub New ( _
	strDistinctFieldName As String, _
	bAutoIncrements As Boolean _
)
Visual C++
public:
DistinctFieldAttribute(
	String^ strDistinctFieldName, 
	bool bAutoIncrements
)

Parameters

strDistinctFieldName
Type: System..::..String

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

bAutoIncrements
Type: System..::..Boolean

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

See Also