Share via


SqlServerMigrationSqlGenerator.GenerateProcedureBody Method

Definition

Generates the SQL body for a stored procedure.

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

Parameters

commandTrees
ICollection<DbModificationCommandTree>

The command trees representing the commands for an insert, update or delete operation.

rowsAffectedParameter
String

The rows affected parameter name.

providerManifestToken
String

The provider manifest token.

Returns

The SQL body for the stored procedure.

Applies to