다음을 통해 공유


DbContextFactoryOptions.EnvironmentName 속성

정의

주의

Use the ASPNETCORE_ENVIRONMENT environment variable instead.

환경의 이름을 가져오거나 설정합니다.

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

속성 값

특성

적용 대상