MigrationStatement Class

Definition

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

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.

public class MigrationStatement
type MigrationStatement = class
Public Class MigrationStatement
Inheritance
MigrationStatement

Constructors

MigrationStatement()

Properties

BatchTerminator

Gets or sets the batch terminator for the database provider.

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.

Sql

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

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.

Applies to