Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Namespace:  System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)
public class SqlOperation : MigrationOperation

The SqlOperation type exposes the following members.

  NameDescription
Public methodSqlOperation Initializes a new instance of the SqlOperation class.
Top
  NameDescription
Public propertyAnonymousArguments Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.)
Public propertyInverse Gets an operation that will revert this operation. (Inherited from MigrationOperation.)
Public propertyIsDestructiveChangeGets a value indicating if this operation may result in data loss. (Overrides MigrationOperation.IsDestructiveChange.)
Public propertySql Gets the SQL to be executed.
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.