DbContextFactoryOptions.ApplicationBasePath 属性

定义

注意

Use AppContext.BaseDirectory instead.

获取或设置包含应用程序的目录。

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

属性值

属性

适用于