src/Shared/EntityFramework/Migrations/DbMigration.cs
/// <summary>
/// Adds an operation to alter a stored procedure.
///
/// Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources 
/// (such as the end user of an application). If input is accepted from such sources it should be validated 
/// before being passed to these APIs to protect against SQL injection attacks etc.
/// </summary>
/// <param name="name">
/// The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is
/// assumed.
/// </param>
/// <param name="body">The body of the stored procedure.</param>
/// <param name="anonymousArguments">
/// The additional arguments that may be processed by providers. Use anonymous type syntax
/// to specify arguments. For example, 'new { SampleArgument = "MyValue" }'.
/// </param>
Adds an operation to alter a stored procedure.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources
(such as the end user of an application). If input is accepted from such sources it should be validated
before being passed to these APIs to protect against SQL injection attacks etc.
Adds an operation to alter a stored procedure . Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources ( such as the end user of an application ) . If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc .
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
        public void AlterStoredProcedure(string name, string body, object anonymousArguments = null)
        {
            Check.NotEmpty(name, "name");
            AlterStoredProcedure<object>(name, _ => new { }, body, anonymousArguments);
        }
[ SuppressMessage ( " " , " " ) ] public void AlterStoredProcedure ( string name , string body , object anonymousArguments = null ) { Check . NotEmpty ( name , " " ) ; AlterStoredProcedure < object > ( name , _ => new { } , body , anonymousArguments ) ; }
Adds an operation to alter a stored procedure.
Adds an operation to alter a stored procedure .
name
string
The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is
assumed.
The name of the stored procedure . Schema name is optional if no schema is specified then dbo is assumed .
body
string
The body of the stored procedure.
The body of the stored procedure .
anonymousArguments
object
The additional arguments that may be processed by providers. Use anonymous type syntax
to specify arguments. For example, 'new { SampleArgument = "MyValue" }'.
The additional arguments that may be processed by providers . Use anonymous type syntax to specify arguments . For example ' new { SampleArgument = " MyValue " } ' .