語言

NotSupportedOperation 類別

定義

代表一種無法執行的遷移操作,可能是因為目標資料庫提供者不支援。

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

屬性

名稱 Description
AnonymousArguments

會有額外的論點,這些論點可能會被醫療提供者處理。

實體框架遷移 API 並非設計用來接受不受信任來源(例如應用程式的最終使用者)提供的輸入。 若接受來自這些來源的輸入,應在傳遞給這些 API 前進行驗證,以防止 SQL 注入攻擊等攻擊。

(繼承來源 MigrationOperation)
Inverse

獲得一個會反轉該操作的操作。

(繼承來源 MigrationOperation)
IsDestructiveChange

會獲得一個值,表示此操作是否可能導致資料遺失。 總是回傳 false。

適用於