SqlDataSourceUIHelper.EditQuery<TModel>(SqlQuery, UserLookAndFeel, IWin32Window, IDBSchemaProvider, IParameterService, Action<IWizardCustomization<TModel>>) Method
OBSOLETE
This overload is obsolete now. Use Edit
Invokes the Query Builder to edit the specified query.
Namespace: DevExpress.DataAccess.UI.Sql
Assembly: DevExpress.DataAccess.v24.2.UI.dll
NuGet Package: DevExpress.DataAccess.UI
#Declaration
[Obsolete("This overload is obsolete now. Use EditQuery<TModel>(this SqlQuery query, EditQueryContext context, Action<IWizardCustomization<TModel>> customizeWizard) instead.")]
public static bool EditQuery<TModel>(
this SqlQuery query,
UserLookAndFeel lookAndFeel,
IWin32Window owner,
IDBSchemaProvider dbSchemaProvider,
IParameterService parameterService,
Action<IWizardCustomization<TModel>> callback
)
where TModel : class, ISqlDataSourceModel, new()
#Parameters
Name | Type | Description |
---|---|---|
query | Sql |
A Sql |
look |
User |
A User |
owner | IWin32Window | An object implementing the IWin32Window interface that is the owner of the current dialog window. |
db |
DevExpress. |
An object implementing the IDBSchema |
parameter |
IParameter |
An object implementing the IParameter |
callback | Action<IWizard |
A Action delegate of an object implementing the IWizard |
#Type Parameters
Name |
---|
TModel |
#Returns
Type | Description |
---|---|
Boolean | true, if the dialog was finished by clicking the OK button; otherwise, false. |
#Remarks
The following image illustrates the Query Builder.