Back to Devexpress

IDataDirectoryPatchingService Interface

corelibraries-devexpress-dot-data-dot-utils-86eb2c74.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public interface IDataDirectoryPatchingService
vb
Public Interface IDataDirectoryPatchingService

The following members return IDataDirectoryPatchingService objects:

LibraryRelated API Members
WinForms ControlsEditDataSourceContext.DataDirectoryPatchingService
UpdateSchemaContext.DataDirectoryPatchingService
DashboardEditExtractOptionsContext.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

IDataDirectoryPatchingService Members

EditDataSourceContext.DataDirectoryPatchingService

UpdateSchemaContext.DataDirectoryPatchingService

DevExpress.Data.Utils Namespace