Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.UI.dll

NuGet Package: DevExpress.DataAccess.UI

#Declaration

public bool EnableCustomSql { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

Important

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