The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataObjectFieldAttribute Constructor (Boolean, Boolean)
.NET Framework (current version)
Initializes a new instance of the DataObjectFieldAttribute class and indicates whether the field is the primary key for the data row, and whether the field is a database identity field.
Assembly: System (in System.dll)
Parameters
- primaryKey
-
Type:
System::Boolean
true to indicate that the field is in the primary key of the data row; otherwise, false.
- isIdentity
-
Type:
System::Boolean
true to indicate that the field is an identity field that uniquely identifies the data row; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: