DataTableMapping.DataSetTable Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém ou define o nome da tabela a partir de um DataSet.
public:
property System::String ^ DataSetTable { System::String ^ get(); void set(System::String ^ value); };
[System.Data.DataSysDescription("DataTableMapping_DataSetTable")]
public string DataSetTable { get; set; }
public string DataSetTable { get; set; }
[<System.Data.DataSysDescription("DataTableMapping_DataSetTable")>]
member this.DataSetTable : string with get, set
member this.DataSetTable : string with get, set
Public Property DataSetTable As String
Valor de Propriedade
O nome da tabela vem de um DataSet.
Implementações
- Atributos
Exemplos
O exemplo seguinte cria um DataTableMapping objeto e define algumas das suas propriedades.
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