語言

CoreStrings.InvalidDbContext 屬性

定義

先前的錯誤使資料庫上下文處於無效狀態。 應用程式在拋出 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

屬性值

屬性

適用於