Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MigrationStatement Class
Collapse the table of content
Expand the table of content

MigrationStatement Class

Entity Framework 5.0

Represents a migration operation that has been translated into a SQL statement.


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

public class MigrationStatement

The MigrationStatement type exposes the following members.

Public methodMigrationStatementInitializes a new instance of the MigrationStatement class.

Public propertySql Gets or sets the SQL to be executed to perform this migration operation.
Public propertySuppressTransaction 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.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (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.
© 2015 Microsoft