語言

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 主體。

適用於