DbContextFactoryOptions.ContentRootPath Property

Definition

Caution

Use Directory.GetCurrentDirectory() instead.

Gets or sets the directory containing the application content files.

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

Property Value

Attributes

Applies to