Export (0) Print
Expand All

MigrationStatement Class

Entity Framework 5.0

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

System.Object
  System.Data.Entity.Migrations.Sql.MigrationStatement

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

public class MigrationStatement

The MigrationStatement type exposes the following members.

  NameDescription
Public methodMigrationStatementInitializes a new instance of the MigrationStatement class.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft