語言

MigrationStatement.BatchTerminator 屬性

定義

取得或設定資料庫提供者的批次終止器。

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

public string BatchTerminator { get; set; }
member this.BatchTerminator : string with get, set
Public Property BatchTerminator As String

屬性值

資料庫提供者的批次終止器。

適用於