SqlCeMigrationSqlGenerator.Writer Method

Definition

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.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
protected static System.Data.Entity.Migrations.Utilities.IndentedTextWriter Writer ();
static member Writer : unit -> System.Data.Entity.Migrations.Utilities.IndentedTextWriter
Protected Shared Function Writer () As IndentedTextWriter

Returns

An empty text writer to use for SQL generation.

Attributes

Applies to