Partilhar via


DbContextFactoryOptions.EnvironmentName Propriedade

Definição

Cuidado

Use the ASPNETCORE_ENVIRONMENT environment variable instead.

Obtém ou define o nome do 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

Valor da propriedade

Atributos

Aplica-se a