Skip to main content

QueryBuilderEditQueryContext.EnableCustomSql Property

Specifies whether or not the Query Builder allows end-users to create and execute custom SQL queries.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v22.2.UI.dll

NuGet Package: DevExpress.DataAccess.UI


public bool EnableCustomSql { get; set; }

Property Value

Type Description

true, to allow end-users to use custom SQL queries; otherwise, false.



Unrestricted execution of custom queries enables end-users to voluntarily modify a connected database. Avoid enabling this option unless you are absolutely certain about the expected results.

See Also