Skip to main content

IDataDirectoryPatchingService Interface

Allows you to change the path specified in the connection string as required to access the data source file.

Namespace: DevExpress.Data.Utils

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public interface IDataDirectoryPatchingService

The following members return IDataDirectoryPatchingService objects:

Library Related API Members
WinForms Controls EditDataSourceContext.DataDirectoryPatchingService
UpdateSchemaContext.DataDirectoryPatchingService
Dashboard EditExtractOptionsContext.DataDirectoryPatchingService

#Remarks

Interface implementation allows you to create the IDataDirectoryPatchingService.PatchPath method to translate the specified path to an actual path.

The built-in PatchPath implementation used by the Data Source editors replaces the “|DataDirectory|” substitution string with the values defined by the DataDirectory or DXDataDirectory keys in the current application domain.

See Also