Back to Devexpress

QueryBuilderInput.ResultQuery Property

corelibraries-devexpress-dot-dataaccess-dot-web-dot-querybuilder-dot-querybuilderinput.md

latest2.4 KB
Original Source

QueryBuilderInput.ResultQuery Property

Gets the SelectQuery object that forms a SQL SELECT statement.

Namespace : DevExpress.DataAccess.Web.QueryBuilder

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
public SelectQuery ResultQuery { get; }
vb
Public ReadOnly Property ResultQuery As SelectQuery

Property Value

TypeDescription
SelectQuery

A SelectQuery object that forms a SQL SELECT statement.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ResultQuery property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

query-builder-use-in-asp-net-core-application/CS/AspNetCoreQueryBuilderApp/Controllers/HomeController.cs#L38

csharp
var queryBuilderInput = queryBuilderInputSerializer.DeserializeSaveQueryRequest(saveQueryRequest);
await dataSourceStorageService.CreateOrUpdateDataSourceAsync(queryBuilderInput.ResultQuery, saveQueryRequest.ConnectionName, saveQueryRequest.ExistingDataSourceId);
return new RedirectToActionResult("Index", "Home", null);

See Also

QueryBuilderInput Class

QueryBuilderInput Members

DevExpress.DataAccess.Web.QueryBuilder Namespace