SqlDataSourceUIHelper.ConfigureConnectionParameters<TModel>(SqlDataSource, IWizardRunnerContext, IConnectionStorageService, Action<IWizardCustomization<TModel>>) Method

Obsolete. Use an appropriate overload of the SqlDataSourceUIHelper.ConfigureConnection method instead.

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

[Obsolete("This overload is obsolete now. Use ConfigureConnectionParameters<TModel>(this SqlDataSource sqlDataSource, ConfigureConnectionContext context, Action<IWizardCustomization<TModel>> customizeWizard) instead.")]
public static bool ConfigureConnectionParameters<TModel>(
    this SqlDataSource sqlDataSource,
    IWizardRunnerContext context,
    IConnectionStorageService connectionStorageService,
    Action<IWizardCustomization<TModel>> callback
)
    where TModel : class, ISqlDataSourceModel, new()
<Obsolete("This overload is obsolete now. Use ConfigureConnectionParameters<TModel>(this SqlDataSource sqlDataSource, ConfigureConnectionContext context, Action<IWizardCustomization<TModel>> customizeWizard) instead.")>
<ExtensionAttribute>
Public Shared Function ConfigureConnectionParameters(Of TModel As {Class, ISqlDataSourceModel, New})(
    sqlDataSource As SqlDataSource,
    context As IWizardRunnerContext,
    connectionStorageService As IConnectionStorageService,
    callback As Action(Of IWizardCustomization(Of TModel))
) As Boolean

Parameters

Name Type Description
sqlDataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

context IWizardRunnerContext

An object implementing the IWizardRunnerContext interface.

connectionStorageService IConnectionStorageService

An object implementing the IConnectionStorageService interface.

callback Action<IWizardCustomization<TModel>>

A Action delegate of an object implementing the IWizardCustomization<TModel> interface.

Type Parameters

Name
TModel

Returns

Type Description
Boolean

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

Remarks

The following image illustrates the Connection Editor.

data-access-sql-data-source-ui-helper-connection-parameters-editor

See Also