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

CustomQueryValidator Class

A default implementation of the ICustomQueryValidator interface that provides custom validation logic for SQL queries.

Namespace: DevExpress.DataAccess.Wizard.Services

Assembly: DevExpress.DataAccess.v19.1.dll

Declaration

public class CustomQueryValidator :
    ICustomQueryValidator

Remarks

The default query validation mechanism only allows an end-user to specify custom SQL queries containing ‘SELECT’ statements.

Important

Although the default validation mechanism only allows custom queries containing SELECT statements (except for SELECT INTO clauses), it cannot be considered safe as it does not prevent execution of potentially harmful requests. For this reason, we strongly recommend that you implement your own validation logic that does not reduce the default restrictions and permits only execution of specific query kinds.

Inheritance

Object
CustomQueryValidator
See Also