Skip to main content
A newer version of this page is available. .

SqlDataSourceUIHelper.AddQuery<TModel>(SqlDataSource, UserLookAndFeel, IWin32Window, IDBSchemaProvider, IParameterService, IRepositoryItemsProvider, Action<IWizardCustomization<TModel>>, IServiceProvider) Method

OBSOLETE

This overload is obsolete. Use AddQuery<TModel>(this SqlDataSource dataSource, EditQueryContext context, Action<IWizardCustomization<TModel>> customizeWizard) instead.

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

[Obsolete("This overload is obsolete. Use AddQuery<TModel>(this SqlDataSource dataSource, EditQueryContext context, Action<IWizardCustomization<TModel>> customizeWizard) instead.")]
public static bool AddQuery<TModel>(
    this SqlDataSource dataSource,
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    IDBSchemaProvider dbSchemaProvider,
    IParameterService parameterService,
    IRepositoryItemsProvider repositoryItemsProvider,
    Action<IWizardCustomization<TModel>> callback,
    IServiceProvider propertyGridServices
)
    where TModel : class, ISqlDataSourceModel, new()

Parameters

Name Type
dataSource SqlDataSource
lookAndFeel UserLookAndFeel
owner IWin32Window
dbSchemaProvider IDBSchemaProvider
parameterService IParameterService
repositoryItemsProvider IRepositoryItemsProvider
callback Action<IWizardCustomization<TModel>>
propertyGridServices IServiceProvider

Type Parameters

Name
TModel

Returns

Type
Boolean
See Also