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 正文。

适用于