共用方式為


SqlServerMigrationSqlGenerator.GenerateProcedureBody 方法

定義

產生預存程式的 SQL 主體。

public override string GenerateProcedureBody (System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> commandTrees, string rowsAffectedParameter, string providerManifestToken);
override this.GenerateProcedureBody : System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> * string * string -> string
Public Overrides Function GenerateProcedureBody (commandTrees As ICollection(Of DbModificationCommandTree), rowsAffectedParameter As String, providerManifestToken As String) As String

參數

commandTrees
ICollection<DbModificationCommandTree>

命令樹,表示插入、更新或刪除作業的命令。

rowsAffectedParameter
String

受影響的資料列參數名稱。

providerManifestToken
String

提供者資訊清單語彙基元。

傳回

預存程式的 SQL 主體。

適用於