Skip to main content

SqlDataConnection.GetDBSchema(Boolean, SchemaLoadingMode) Method

Returns the schema of an SQL data source.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

public DBSchema GetDBSchema(
    bool loadColumns,
    SchemaLoadingMode schemaLoadingMode
)

Parameters

Name Type Description
loadColumns Boolean

true, to load data tables along with their columns; otherwise, false.

schemaLoadingMode DevExpress.DataAccess.Sql.SchemaLoadingMode

A SchemaLoadingMode enumeration value.

Returns

Type Description
DBSchema

A DBSchema object.

See Also