xpo-devexpress-dot-xpo-dot-db-dot-mssqlconnectionprovider-dot-getstoragetableslist-x28-system-dot-boolean-x29.md
Returns a list of the available tables in the data store.
Namespace : DevExpress.Xpo.DB
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public override string[] GetStorageTablesList(
bool includeViews
)
Public Overrides Function GetStorageTablesList(
includeViews As Boolean
) As String()
| Name | Type | Description |
|---|---|---|
| includeViews | Boolean |
true , to include available database views in the resulting array; otherwise, false.
|
| Type | Description |
|---|---|
| String[] |
An array of the table names in the data store.
|
The GetStorageTables method allows you to get a specific table’s structure. The table’s name should specified by the method’s parameter.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetStorageTablesList(Boolean) 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.
workSession = new Session(dal);
string[] tablesList = connectionProvider.GetStorageTablesList(false);
dynamicClasses = new Dictionary<string, DynamicDataTableClassInfo>(tablesList.Length);
workSession = New Session(dal)
Dim tablesList() As String = connectionProvider.GetStorageTablesList(False)
dynamicClasses = New Dictionary(Of String, DynamicDataTableClassInfo)(tablesList.Length)
See Also