Freigeben über


DbContextFactoryOptions.EnvironmentName Eigenschaft

Definition

Achtung

Use the ASPNETCORE_ENVIRONMENT environment variable instead.

Ruft den Namen der Umgebung ab oder legt ihn fest.

public virtual string EnvironmentName { get; set; }
[System.Obsolete("Use the ASPNETCORE_ENVIRONMENT environment variable instead.", true)]
public virtual string EnvironmentName { get; set; }
member this.EnvironmentName : string with get, set
[<System.Obsolete("Use the ASPNETCORE_ENVIRONMENT environment variable instead.", true)>]
member this.EnvironmentName : string with get, set
Public Overridable Property EnvironmentName As String

Eigenschaftswert

Attribute

Gilt für: