Skip to main content

SqlQuery Class

A formalized description of a database query used to select data from SqlDataSource.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#Declaration

public abstract class SqlQuery :
    IQuery

The following members return SqlQuery objects:

Library Related API Members
Cross-Platform Class Library ISqlDataSourceModel.Query
SqlDataSourceModel.Query
SqlQueryCollection.Item[Int32]
SqlQueryCollection.Item[String]
WinForms Controls QueryBuilderRunnerBase.Create()
QueryBuilderRunnerBase.Edit(SqlQuery)
.NET Reporting Tools DataSetToSqlDataSourceConverter.CreateSqlQuery(String, IDbCommand)

#Remarks

The result of any query is always a two-dimensional table containing the data records.

The SqlDataSource class exposes the SqlDataSource.Queries property that provides access to a collection of SqlQuery objects.

See Also