语言

MigrationsPendingException 类

定义

无法执行操作时引发,因为存在尚未应用于数据库的现有迁移。

[System.Serializable]
public sealed class MigrationsPendingException : System.Data.Entity.Migrations.Infrastructure.MigrationsException
type MigrationsPendingException = class
    inherit MigrationsException
Public NotInheritable Class MigrationsPendingException
Inherits MigrationsException
继承
MigrationsPendingException
特性

构造函数

名称 说明
MigrationsPendingException()

初始化 MigrationsPendingException 类的新实例。

MigrationsPendingException(String, Exception)

初始化 MigrationsPendingException 类的新实例。

MigrationsPendingException(String)

初始化 MigrationsPendingException 类的新实例。

适用于