CreateProcedureOperation Class

Definition

A migration operation to add a new stored procedure to 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 CreateProcedureOperation : System.Data.Entity.Migrations.Model.ProcedureOperation
type CreateProcedureOperation = class
    inherit ProcedureOperation
Public Class CreateProcedureOperation
Inherits ProcedureOperation
Inheritance
CreateProcedureOperation

Constructors

CreateProcedureOperation(String, String, Object)

Initializes a new instance of the CreateProcedureOperation 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)
BodySql

Gets the body of the stored procedure expressed in SQL.

(Inherited from ProcedureOperation)
Inverse

Gets an operation to drop the stored procedure.

IsDestructiveChange

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

(Inherited from ProcedureOperation)
Name

Gets the name of the stored procedure.

(Inherited from ProcedureOperation)
Parameters

Gets the parameters of the stored procedure.

(Inherited from ProcedureOperation)

Applies to