UpdateDatabaseOperation Class
Used when scripting an update database operation to store the operations that would have been performed against 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.UpdateDatabaseOperation
Name | Description | |
---|---|---|
![]() | UpdateDatabaseOperation(IList<DbQueryCommandTree>) | Initializes a new instance of the UpdateDatabaseOperation 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.) |
![]() | HistoryQueryTrees | The queries used to determine if this migration needs to be applied to the database. This is used to generate an idempotent SQL script that can be run against a database at any version. |
![]() | Inverse | Gets an operation that will revert this operation.(Inherited from MigrationOperation.) |
![]() | IsDestructiveChange | Gets a value indicating if any of the operations may result in data loss.(Overrides MigrationOperation.IsDestructiveChange.) |
![]() | Migrations | Gets the migrations applied during the update database operation. |
Name | Description | |
---|---|---|
![]() | AddMigration(String, IList<MigrationOperation>) | Adds a migration to this update database operation. 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. |
![]() | 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.