TableAttribute Constructor

Initializes a new instance of the TableAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String _
)
'Usage
Dim name As String

Dim instance As New TableAttribute(name)
public TableAttribute(
    string name
)
public:
TableAttribute(
    String^ name
)
new : 
        name:string -> TableAttribute
public function TableAttribute(
    name : String
)

Parameters

  • name
    Type: System.String
    The name of the table the class is mapped to.

See Also

Reference

TableAttribute Class

System.ComponentModel.DataAnnotations Namespace