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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.HistoryOperation
Name | Description | |
---|---|---|
![]() | HistoryOperation(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. |
Name | Description | |
---|---|---|
![]() | 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. |
![]() | Inverse | Gets an operation that will revert this operation.(Inherited from MigrationOperation.) |
![]() | IsDestructiveChange | Gets a value indicating whether this operation may result in data loss.(Overrides MigrationOperation.IsDestructiveChange.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.