TableAttribute(String) 建構函式

定義

使用指定的資料表名稱初始化該 TableAttribute 類別的新實例。

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

參數

name
String

類別映射到的資料表名稱。

適用於