Table of Contents

Interface IAlterMigrationOperation

Namespace
Microsoft.EntityFrameworkCore.Migrations.Operations
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

An interface for any MigrationOperation that alters some existing database object.

All such operations contain an 'Old...' property that provides access to the configuration to the database object as it was before being altered. This interface provides a common way to access annotations on that 'old' database object.

public interface IAlterMigrationOperation

Properties

OldAnnotations

Annotations on the database object as they were before being altered.

IMutableAnnotatable OldAnnotations { get; }

Property Value

IMutableAnnotatable