HistoryOperation Class

 

Operation representing DML changes to the migrations history table. The migrations history table is used to store a log of the migrations that have been applied 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.

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

System.Object
  System.Data.Entity.Migrations.Model.MigrationOperation
    System.Data.Entity.Migrations.Model.HistoryOperation

public class HistoryOperation : MigrationOperation

NameDescription
System_CAPS_pubmethodHistoryOperation(IList<DbModificationCommandTree>, Object)

Initializes a new instance of the HistoryOperation 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.

NameDescription
System_CAPS_pubpropertyAnonymousArguments

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

System_CAPS_pubpropertyCommandTrees

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

System_CAPS_pubpropertyInverse

Gets an operation that will revert this operation.(Inherited from MigrationOperation.)

System_CAPS_pubpropertyIsDestructiveChange

Gets a value indicating whether this operation may result in data loss.(Overrides MigrationOperation.IsDestructiveChange.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.