This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ