Partager via


DbContextFactoryOptions.EnvironmentName Propriété

Définition

Attention

Use the ASPNETCORE_ENVIRONMENT environment variable instead.

Obtient ou définit le nom de l’environnement.

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

Valeur de propriété

Attributs

S’applique à