SqlDataConnection.GetDBSchema(Boolean, SchemaLoadingMode) Method

Returns the schema of an SQL data source.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public DBSchema GetDBSchema(
    bool loadColumns,
    SchemaLoadingMode schemaLoadingMode
)
Public Function GetDBSchema(
    loadColumns As Boolean,
    schemaLoadingMode As SchemaLoadingMode
) As DBSchema

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