DeleteHistoryOperation Class

Definition

Represents deleting a new record from the migrations history table. The migrations history table is used to store a log of the migrations that have been applied to the database.

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

Constructors

DeleteHistoryOperation(String, String, Object)

Initializes a new instance of the DeleteHistoryOperation class.

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)
CommandTrees

A sequence of commands representing the operations being applied to the history table.

(Inherited from HistoryOperation)
Inverse

Gets an operation that will revert this operation.

(Inherited from MigrationOperation)
IsDestructiveChange

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

(Inherited from HistoryOperation)
MigrationId

Gets the name of the migration being affected.

(Inherited from HistoryOperation)
Table

Gets the name of the migrations history table.

(Inherited from HistoryOperation)

Applies to