Skip to main content
All docs
V18.2

EFDataSourceUIHelper.EditConnection<TModel>(EFDataSource, EditConnectionContext, Action<IWizardCustomization<TModel>>) Method

Invokes the Select the Connection String page of the Data Source Wizard with the specified settings.

Namespace: DevExpress.DataAccess.UI.EntityFramework

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

Declaration

public static bool EditConnection<TModel>(
    this EFDataSource dataSource,
    EditConnectionContext context,
    Action<IWizardCustomization<TModel>> customizeWizard
)
    where TModel : class, IEFDataSourceModel, new()

Parameters

Name Type Description
dataSource EFDataSource

A EFDataSource object.

context EditConnectionContext

An EditConnectionContext object.

customizeWizard 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 closed by clicking the Finish button; otherwise, false.

See Also