MigrationSqlGenerator.GenerateProcedureBody Method

Definition

Generates the SQL body for a stored procedure.

public virtual string GenerateProcedureBody (System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> commandTrees, string rowsAffectedParameter, string providerManifestToken);
abstract member GenerateProcedureBody : System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> * string * string -> string
override this.GenerateProcedureBody : System.Collections.Generic.ICollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree> * string * string -> string
Public Overridable 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