HistoryRow 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表遷移歷史資料表中某一列的實體類型。
public class HistoryRow
[System.Runtime.CompilerServices.Nullable(0)]
public class HistoryRow
type HistoryRow = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type HistoryRow = class
Public Class HistoryRow
- 繼承
-
HistoryRow
- 屬性
備註
更多資訊與範例請參見 資料庫遷移 。
建構函式
| 名稱 | Description |
|---|---|
| HistoryRow(String, String) |
建立 HistoryRow 一個包含特定遷移識別碼的新 EF Core,針對該版本的 EF Core。 |
屬性
| 名稱 | Description |
|---|---|
| MigrationId |
遷移識別碼。 |
| ProductVersion |
EF Core 版本,取自 AssemblyInformationalVersionAttribute EF Core 組件。 |