CoreStrings.InvalidDbContext 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
先前的錯誤使資料庫上下文處於無效狀態。 應用程式在拋出 InvalidOperationException 後,不應繼續使用 DbContext 實例。
[System.Runtime.CompilerServices.Nullable(1)]
public static string InvalidDbContext { get; }
public static string InvalidDbContext { get; }
[<System.Runtime.CompilerServices.Nullable(1)>]
static member InvalidDbContext : string
static member InvalidDbContext : string
Public Shared ReadOnly Property InvalidDbContext As String
屬性值
- 屬性