MigrationSqlGenerator.GenerateProcedureBody Method (ICollection<DbModificationCommandTree>, String, String)

 

Generates the SQL body for a stored procedure.

Namespace:   System.Data.Entity.Migrations.Sql
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual string GenerateProcedureBody(
	ICollection<DbModificationCommandTree> commandTrees,
	string rowsAffectedParameter,
	string providerManifestToken
)

Parameters

commandTrees
Type: System.Collections.Generic.ICollection<DbModificationCommandTree>

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

rowsAffectedParameter
Type: System.String

The rows affected parameter name.

providerManifestToken
Type: System.String

The provider manifest token.

Return Value

Type: System.String

The SQL body for the stored procedure.