VisualBasicMigrationCodeGenerator.GenerateInline 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.
Overloads
GenerateInline(AddForeignKeyOperation, IndentedTextWriter) |
Generates code to perform an AddForeignKeyOperation as part of a CreateTableOperation. |
GenerateInline(AddPrimaryKeyOperation, IndentedTextWriter) |
Generates code to perform an AddPrimaryKeyOperation as part of a CreateTableOperation. |
GenerateInline(CreateIndexOperation, IndentedTextWriter) |
Generates code to perform a CreateIndexOperation as part of a CreateTableOperation. |
GenerateInline(AddForeignKeyOperation, IndentedTextWriter)
Generates code to perform an AddForeignKeyOperation as part of a CreateTableOperation.
protected virtual void GenerateInline (System.Data.Entity.Migrations.Model.AddForeignKeyOperation addForeignKeyOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateInline : System.Data.Entity.Migrations.Model.AddForeignKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateInline : System.Data.Entity.Migrations.Model.AddForeignKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Parameters
- addForeignKeyOperation
- AddForeignKeyOperation
The operation to generate code for.
- writer
- IndentedTextWriter
Text writer to add the generated code to.
Applies to
GenerateInline(AddPrimaryKeyOperation, IndentedTextWriter)
Generates code to perform an AddPrimaryKeyOperation as part of a CreateTableOperation.
protected virtual void GenerateInline (System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation addPrimaryKeyOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateInline : System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateInline : System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Parameters
- addPrimaryKeyOperation
- AddPrimaryKeyOperation
The operation to generate code for.
- writer
- IndentedTextWriter
Text writer to add the generated code to.
Applies to
GenerateInline(CreateIndexOperation, IndentedTextWriter)
Generates code to perform a CreateIndexOperation as part of a CreateTableOperation.
protected virtual void GenerateInline (System.Data.Entity.Migrations.Model.CreateIndexOperation createIndexOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateInline : System.Data.Entity.Migrations.Model.CreateIndexOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateInline : System.Data.Entity.Migrations.Model.CreateIndexOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Parameters
- createIndexOperation
- CreateIndexOperation
The operation to generate code for.
- writer
- IndentedTextWriter
Text writer to add the generated code to.
Applies to
Entity Framework