SqlServerMigrationSqlGenerator.Statement Method (String, Boolean, String)

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Adds a new Statement to be executed against the database.

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

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")> _
Protected Sub Statement ( _
	sql As String, _
	suppressTransaction As Boolean, _
	batchTerminator As String _
)
'Usage
Dim sql As String 
Dim suppressTransaction As Boolean 
Dim batchTerminator As String 

Me.Statement(sql, suppressTransaction, _
	batchTerminator)

Parameters

sql
Type: System.String
The statement to be executed.
suppressTransaction
Type: System.Boolean
Indicates 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.
batchTerminator
Type: System.String
The batch terminator for the database provider.
Show: