Skip to main content

SelectQuery.Validate(DBSchema) Method

Checks the validity of the SelectQuery against a specified schema.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

public override void Validate(
    DBSchema schema
)

Parameters

Name Type Description
schema DBSchema

A DBSchema object.

Remarks

The Validate method is called internally each time a query is being executed.

If the query validation fails, a specific ValidationException is thrown, indicating the cause of the error.

See Also