SqlDataConnection.GetDBSchema(Boolean, SchemaLoadingMode) Method

Returns the schema of an SQL data source.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.2.dll

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