SqlDataSourceUIHelper.AddQuery(SqlDataSource, UserLookAndFeel, IWin32Window, IDBSchemaProvider) Method

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

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

[Obsolete("This overload is obsolete. Use AddQuery(this SqlDataSource dataSource, EditQueryContext context) instead.")]
public static bool AddQuery(
    this SqlDataSource dataSource,
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    IDBSchemaProvider dbSchemaProvider
)
<Obsolete("This overload is obsolete. Use AddQuery(this SqlDataSource dataSource, EditQueryContext context) instead.")>
<ExtensionAttribute>
Public Shared Function AddQuery(
    dataSource As SqlDataSource,
    lookAndFeel As UserLookAndFeel,
    owner As IWin32Window,
    dbSchemaProvider As IDBSchemaProvider
) As Boolean

Parameters

Name Type Description
dataSource SqlDataSource

A SqlDataSource to which the resulting query will be added.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object, specifying the application's look and feel settings.

owner IWin32Window

An object implementing the IWin32Window interface that is the owner of the current dialog window.

dbSchemaProvider DevExpress.DataAccess.Sql.IDBSchemaProvider

An DevExpress.DataAccess.Sql.IDBSchemaProvider, providing access to the schema of the SQL data base.

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