Skip to main content

ConfigureQueryPage.AllowCustomSql Property

Specifies whether custom SQL editing is enabled on a wizard page.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly: DevExpress.Xpf.DataAccess.v24.1.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public virtual bool AllowCustomSql { get; protected set; }

Property Value

Type Description
Boolean

true, if custom SQL editing is enabled; otherwise, false.

Remarks

If custom SQL editing is enabled, the Query Builder contains the Allow Edit SQL check box, which also enables the capability to specify a custom SQL query manually.

Important

Custom SQL queries are not validated before their execution and may contain potentially harmful instructions. For this reason, we strongly recommend that you implement your own validation logic that permits only execution of specific query kinds. For more information, see Ensuring Data Access Security

See Also