DbProviderServices.ExpandDataDirectory Method (String)
Expands |DataDirectory| in the given path if it begins with |DataDirectory| and returns the expanded path, or returns the given string if it does not start with |DataDirectory|.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Performance", "CA1820:TestForEmptyStringsUsingStringLength")] public static string ExpandDataDirectory( string path )
Parameters
- path
-
Type:
System.String
The path to expand.