Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlServerMigrationSqlGenerator::Writer Method ()

Entity Framework 6.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.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

protected:
[SuppressMessageAttribute("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
static IndentedTextWriter^ Writer()

Return Value

Type: System.Data.Entity.Migrations.Utilities::IndentedTextWriter^

An empty text writer to use for SQL generation.

Return to top
Show: