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.

  Name Description
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft