System.Data.Entity.Migrations.Infrastructure Namespace
Entity Framework 5.0
Provides base classes for code-based migrations.
| Class | Description | |
|---|---|---|
|
AutomaticDataLossException | Represents an error that occurs when an automatic migration would result in data loss. |
|
AutomaticMigrationsDisabledException | Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. |
|
MigrationsException | Represents errors that occur inside the Code First Migrations pipeline. |
|
MigrationsLogger | Base class for loggers that can be used for the migrations process. |
|
MigratorBase | Base class for decorators that wrap the core DbMigrator. |
|
MigratorLoggingDecorator | Decorator to provide logging during migrations operations. |
|
MigratorScriptingDecorator | Represents a decorator to produce a SQL script instead of applying changes to the database. Using this decorator to wrap DbMigrator will prevent DbMigrator from applying any changes to the target database. |
| Interface | Description | |
|---|---|---|
|
IMigrationMetadata | Provides additional metadata about a code-based migration. |
Show: