DataObjectFieldAttribute Constructor

 

Initializes a new instance of the DataObjectFieldAttribute class.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodDataObjectFieldAttribute(Boolean)

Initializes a new instance of the DataObjectFieldAttribute class and indicates whether the field is the primary key for the data row.

System_CAPS_pubmethodDataObjectFieldAttribute(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.

System_CAPS_pubmethodDataObjectFieldAttribute(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.

System_CAPS_pubmethodDataObjectFieldAttribute(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.

Return to top
Show: