SqlDataSourceUIHelper.AddQuery(SqlDataSource, IRepositoryItemsProvider) Method

Obsolete. Use another SqlDataSourceUIHelper.AddQuery overload that accepts a SqlDataSource and EditQueryContext as parameters.

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

[Obsolete("This overload is obsolete. Use AddQuery(this SqlDataSource dataSource, EditQueryContext context) instead.")]
public static bool AddQuery(
    this SqlDataSource dataSource,
    IRepositoryItemsProvider repositoryItemsProvider
)
<Obsolete("This overload is obsolete. Use AddQuery(this SqlDataSource dataSource, EditQueryContext context) instead.")>
<ExtensionAttribute>
Public Shared Function AddQuery(
    dataSource As SqlDataSource,
    repositoryItemsProvider As IRepositoryItemsProvider
) As Boolean

Parameters

Name Type Description
dataSource SqlDataSource

A SqlDataSource to which the resulting query will be added.

repositoryItemsProvider IRepositoryItemsProvider

An object implementing the IRepositoryItemsProvider interface that provides repository items for editing query parameters.

Returns

Type Description
Boolean

true, if the dialog was finished by clicking the OK button; otherwise, false.

Remarks

This overload has become obsolete. Use another SqlDataSourceUIHelper.AddQuery overload that accepts a SqlDataSource and EditQueryContext as parameters.

See Also