SqlServerMigrationSqlGenerator.Writer Method

Entity Framework 5.0

Gets a new IndentedTextWriter that can be used to build SQL. This is just a helper method to create a writer. Writing to the writer will not cause SQL to be registered for execution. You must pass the generated SQL to the Statement method.

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

protected static IndentedTextWriter Writer()

Return Value

Type: System.Data.Entity.Migrations.Utilities.IndentedTextWriter
An empty text writer to use for SQL generation.