MigrationsScaffolder.GetDirectory(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the directory of a sibling file. If none, the directory corresponding to the sub-namespace is used.
protected virtual string GetDirectory (string projectDir, string siblingFileName, string subnamespace);
protected virtual string GetDirectory (string projectDir, string? siblingFileName, string subnamespace);
abstract member GetDirectory : string * string * string -> string
override this.GetDirectory : string * string * string -> string
Protected Overridable Function GetDirectory (projectDir As String, siblingFileName As String, subnamespace As String) As String
Parameters
- projectDir
- String
The project's root directory.
- siblingFileName
- String
The sibling file's name.
- subnamespace
- String
The sub-namespace.
Returns
The directory path.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework