SqlServerMigrationSqlGenerator.Statement Method (IndentedTextWriter, 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)

[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected void Statement(
	IndentedTextWriter writer,
	string batchTerminator
)

Parameters

writer
Type: System.Data.Entity.Migrations.Utilities.IndentedTextWriter
The writer containing the SQL to be executed.
batchTerminator
Type: System.String
The batch terminator for the database provider.
Show: