Condividi tramite


DbContextFactoryOptions.EnvironmentName Proprietà

Definizione

Attenzione

Use the ASPNETCORE_ENVIRONMENT environment variable instead.

Ottiene o imposta il nome dell'ambiente.

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

Valore della proprietà

Attributi

Si applica a