DbContextFactoryOptions.ContentRootPath Eigenschaft

Definition

Achtung

Use Directory.GetCurrentDirectory() instead.

Ruft das Verzeichnis ab, das die Anwendungsinhaltsdateien enthält, oder legt es fest.

C#
public virtual string ContentRootPath { get; set; }
C#
[System.Obsolete("Use Directory.GetCurrentDirectory() instead.", true)]
public virtual string ContentRootPath { get; set; }

Eigenschaftswert

Attribute

Gilt für:

Produkt Versionen (Veraltet)
Entity Framework Core 1.0, 1.1 (2.0, 2.1, 2.2)