Skip to main content

DBSchemaProviderEx.GetTables(SqlDataConnection, String[]) Method

Returns the data tables corresponding to a specific data connection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public virtual DBTable[] GetTables(
    SqlDataConnection connection,
    params string[] tableList
)

Parameters

Name Type Description
connection SqlDataConnection

An SqlDataConnection object, specifying a connection to a data store.

tableList String[]

An array of String values, specifying the data tables to request.

Returns

Type Description
DBTable[]

An array of DBTable objects.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetTables(SqlDataConnection, String[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also