共用方式為


NotSupportedOperation 類別

定義

表示無法執行的移轉作業,可能是因為目標資料庫提供者不支援。

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

屬性

AnonymousArguments

取得提供者可能處理的其他引數。

Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。

(繼承來源 MigrationOperation)
Inverse

取得將還原此作業的作業。

(繼承來源 MigrationOperation)
IsDestructiveChange

取得值,指出此作業是否可能導致資料遺失。 一律傳回 false。

適用於