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

 

Generates the SQL body for a stored procedure.

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

public override 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.