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.2.dll

NuGet Package: DevExpress.DataAccess

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