語言

IHistoryRepository.GetBeginIfExistsScript(String) 方法

定義

產生一個 SQL 腳本,當且僅當該識別碼的遷移已存在於歷史資料表時,才會執行 BEGIN SQL 區塊。

public string GetBeginIfExistsScript(string migrationId);
abstract member GetBeginIfExistsScript : string -> string
Public Function GetBeginIfExistsScript (migrationId As String) As String

參數

migrationId
String

遷移識別碼。

傳回

產生的 SQL。

適用於