Share via


DropProcedureOperation Class

Definition

Drops a stored procedure from the database.

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.

public class DropProcedureOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type DropProcedureOperation = class
    inherit MigrationOperation
Public Class DropProcedureOperation
Inherits MigrationOperation
Inheritance
DropProcedureOperation

Constructors

DropProcedureOperation(String, Object)

Initializes a new instance of the DropProcedureOperation class.

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.

Properties

AnonymousArguments

Gets additional arguments that may be processed by providers.

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.

(Inherited from MigrationOperation)
Inverse

Gets an operation that will revert this operation. Always returns a NotSupportedOperation.

IsDestructiveChange

Gets a value indicating if this operation may result in data loss. Always returns false.

Name

Gets the name of the stored procedure to drop.

Applies to