NotSupportedOperation 类

定义

表示无法执行的迁移操作,可能是因为目标数据库提供程序不支持它。

public class NotSupportedOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type NotSupportedOperation = class
    inherit MigrationOperation
Public Class NotSupportedOperation
Inherits MigrationOperation
继承
NotSupportedOperation

属性

AnonymousArguments

获取可由提供程序处理的其他参数。

实体框架迁移 API 不设计为接受不受信任的源 ((例如应用程序的最终用户) )提供的输入。 如果从此类源接受输入,则应在传递到这些 API 之前对其进行验证,以防止 SQL 注入攻击等。

(继承自 MigrationOperation)
Inverse

获取将还原此操作的操作。

(继承自 MigrationOperation)
IsDestructiveChange

获取一个值,该值指示此操作是否可能导致数据丢失。 始终返回 false。

适用于