DbContextFactoryOptions.ContentRootPath 属性

定义

注意

Use Directory.GetCurrentDirectory() instead.

获取或设置包含应用程序内容文件的目录。

public virtual string ContentRootPath { get; set; }
[System.Obsolete("Use Directory.GetCurrentDirectory() instead.", true)]
public virtual string ContentRootPath { get; set; }
member this.ContentRootPath : string with get, set
[<System.Obsolete("Use Directory.GetCurrentDirectory() instead.", true)>]
member this.ContentRootPath : string with get, set
Public Overridable Property ContentRootPath As String

属性值

属性

适用于