SqlOperation Class
Entity Framework 5.0
Represents a provider specific SQL statement to be executed directly against the target database.
System.Object
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.SqlOperation
System.Data.Entity.Migrations.Model.MigrationOperation
System.Data.Entity.Migrations.Model.SqlOperation
Namespace: System.Data.Entity.Migrations.Model
Assembly: EntityFramework (in EntityFramework.dll)
The SqlOperation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AnonymousArguments | Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.) |
![]() | 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. (Overrides MigrationOperation.IsDestructiveChange.) |
![]() | Sql | Gets the SQL to be executed. |
![]() | SuppressTransaction | Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. |
Show:
