Migration.DownOperations Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The MigrationOperations that will migrate the database 'down'.
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)
That is, those operations that need to be applied to the database to take it from the state left in by this migration so that it returns to the state that it was in before this migration was applied.
See Database migrations for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: