次の方法で共有


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

プロパティ値

属性

適用対象