Bewerken

Share via


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()

Source:
ColumnAttribute.cs
Source:
ColumnAttribute.cs
Source:
ColumnAttribute.cs

Initializes a new instance of the ColumnAttribute class.

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

Applies to

ColumnAttribute(String)

Source:
ColumnAttribute.cs
Source:
ColumnAttribute.cs
Source:
ColumnAttribute.cs

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