MigrationsScaffolder.TryGetProjectFile(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.
Tries to find a file under the project directory.
protected virtual string TryGetProjectFile (string projectDir, string fileName);
protected virtual string? TryGetProjectFile (string projectDir, string fileName);
abstract member TryGetProjectFile : string * string -> string
override this.TryGetProjectFile : string * string -> string
Protected Overridable Function TryGetProjectFile (projectDir As String, fileName As String) As String
Parameters
- projectDir
- String
The project directory.
- fileName
- String
The filename.
Returns
The file path or null if none.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework