ConfigureQueryPage.AllowCustomSql Property

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

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

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

Declaration

public virtual bool AllowCustomSql { get; protected set; }
Public Overridable Property AllowCustomSql As Boolean

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