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

类映射到的表的名称。

适用于