Skip to main content
A newer version of this page is available. .

SelectQuery.Validate(DBSchema) Method

Checks the validity of the SelectQuery against a specified schema.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

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