HistoryOperation Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public class HistoryOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type HistoryOperation = class
inherit MigrationOperation
Public Class HistoryOperation
Inherits MigrationOperation
- Inheritance
- Derived
History |
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. |
History |
Initializes a new instance of the HistoryOperation class. |
Anonymous |
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) |
Command |
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) |
Is |
Gets a value indicating if this operation may result in data loss. |
Migration |
Gets the name of the migration being affected. |
Table |
Gets the name of the migrations history table. |
Produkt | Versioner |
---|---|
Entity Framework | 4.3.1, 5.0.0, 6.2.0 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: