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.
Use another SqlDataSourceUIHelper.AddQuery<TModel> overload that accepts a SqlDataSource and EditQueryContext as parameters.
Namespace: DevExpress.DataAccess.UI.Sql
Assembly: DevExpress.DataAccess.v24.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 | 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 object implementing the IDBSchemaProvider interface. |
parameterService | IParameterService | An object implementing the IParameterService interface. |
repositoryItemsProvider | IRepositoryItemsProvider | An object implementing the IRepositoryItemsProvider interface that provides repository items for editing query parameters. |
callback | Action<IWizardCustomization<TModel>> | A Action delegate of an object implementing the IWizardCustomization<TModel> interface. |
propertyGridServices | IServiceProvider | An object implementing the System.IServiceProvider interface that provides access to services managing property grid functionality. |
Type Parameters
Name |
---|
TModel |
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<TModel> overload that accepts a SqlDataSource and EditQueryContext as parameters.