corelibraries-devexpress-dot-data-dot-utils-86eb2c74.md
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.v25.2.dll
NuGet Package : DevExpress.Data
public interface IDataDirectoryPatchingService
Public Interface IDataDirectoryPatchingService
The following members return IDataDirectoryPatchingService objects:
| Library | Related API Members |
|---|---|
| WinForms Controls | EditDataSourceContext.DataDirectoryPatchingService |
| UpdateSchemaContext.DataDirectoryPatchingService | |
| Dashboard | EditExtractOptionsContext.DataDirectoryPatchingService |
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
IDataDirectoryPatchingService Members
EditDataSourceContext.DataDirectoryPatchingService