SqlServerMigrationSqlGenerator.Writer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得可用來建置 SQL 的新 IndentedTextWriter 。
這只是建立寫入器的協助程式方法。 寫入寫入寫入器不會讓 SQL 註冊執行。 您必須將產生的 SQL 傳遞至 Statement 方法。
[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
傳回
用於產生 SQL 的空白文字寫入器。
- 屬性