ColumnAttribute Constructors

Definition

Initializes a new instance of the ColumnAttribute class.

Overloads

ColumnAttribute()

Initializes a new instance of the ColumnAttribute class.

ColumnAttribute(String)

Initializes a new instance of the ColumnAttribute class.

ColumnAttribute()

Initializes a new instance of the ColumnAttribute class.

public:
 ColumnAttribute();
public ColumnAttribute ();
Public Sub New ()

Applies to

ColumnAttribute(String)

Initializes a new instance of the ColumnAttribute class.

public:
 ColumnAttribute(System::String ^ name);
public ColumnAttribute (string name);
new System.ComponentModel.DataAnnotations.Schema.ColumnAttribute : string -> System.ComponentModel.DataAnnotations.Schema.ColumnAttribute
Public Sub New (name As String)

Parameters

name
String

The name of the column the property is mapped to.

Applies to