SqlServerMigrationSqlGenerator.Writer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework