DataTableMapping.SourceTable 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置数据源中区分大小写的源表名称。
public:
property System::String ^ SourceTable { System::String ^ get(); void set(System::String ^ value); };
public string SourceTable { get; set; }
[System.Data.DataSysDescription("DataTableMapping_SourceTable")]
public string SourceTable { get; set; }
member this.SourceTable : string with get, set
[<System.Data.DataSysDescription("DataTableMapping_SourceTable")>]
member this.SourceTable : string with get, set
Public Property SourceTable As String
属性值
数据源中区分大小写的源表名称。
实现
- 属性
示例
以下示例创建一个 DataTableMapping 对象并设置其某些属性。
public void CreateDataTableMapping()
{
DataTableMapping mapping = new DataTableMapping();
mapping.SourceTable = "Categories";
mapping.DataSetTable = "DataCategories";
}
Public Sub CreateDataTableMapping()
Dim mapping As New DataTableMapping()
mapping.SourceTable = "Categories"
mapping.DataSetTable = "DataCategories"
End Sub