SqlServerMigrationSqlGenerator.WriteCreateTable Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
WriteCreateTable(CreateTableOperation) |
Gera SQL para um CreateTableOperation. O SQL gerado deve ser adicionado usando o método Statement. |
WriteCreateTable(CreateTableOperation, IndentedTextWriter) |
Grava CREATE TABLE SQL no gravador de destino. |
WriteCreateTable(CreateTableOperation)
Gera SQL para um CreateTableOperation. O SQL gerado deve ser adicionado usando o método Statement.
protected virtual void WriteCreateTable (System.Data.Entity.Migrations.Model.CreateTableOperation createTableOperation);
abstract member WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation -> unit
override this.WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation -> unit
Parâmetros
- createTableOperation
- CreateTableOperation
A operação para a qual produzir SQL.
Aplica-se a
WriteCreateTable(CreateTableOperation, IndentedTextWriter)
Grava CREATE TABLE SQL no gravador de destino.
protected virtual void WriteCreateTable (System.Data.Entity.Migrations.Model.CreateTableOperation createTableOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.WriteCreateTable : System.Data.Entity.Migrations.Model.CreateTableOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Parâmetros
- createTableOperation
- CreateTableOperation
A operação para a qual produzir SQL.
- writer
- IndentedTextWriter
O gravador de destino.
Aplica-se a
Entity Framework