語言

Migration.DownOperations 屬性

定義

那些 MigrationOperation會將資料庫「往下」遷移的 s。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> DownOperations { get; }
member this.DownOperations : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation>
Public Overridable ReadOnly Property DownOperations As IReadOnlyList(Of MigrationOperation)

屬性值

備註

也就是說,需要對資料庫進行操作,將遷移後留下的狀態帶回遷移前的狀態。

更多資訊與範例請參見 資料庫遷移 。

適用於