Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataObjectFieldAttribute Constructor

Initializes a new instance of the DataObjectFieldAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method DataObjectFieldAttribute(Boolean) Initializes a new instance of the DataObjectFieldAttribute class and indicates whether the field is the primary key for the data row.
Public method DataObjectFieldAttribute(Boolean, Boolean) 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.
Public method DataObjectFieldAttribute(Boolean, Boolean, Boolean) Initializes a new instance of the DataObjectFieldAttribute class and indicates whether the field is the primary key for the data row, whether the field is a database identity field, and whether the field can be null.
Public method DataObjectFieldAttribute(Boolean, Boolean, Boolean, Int32) Initializes a new instance of the DataObjectFieldAttribute class and indicates whether the field is the primary key for the data row, whether it is a database identity field, and whether it can be null and sets the length of the field.
Top

Community Additions

ADD
Show:
© 2015 Microsoft