VisualBasicMigrationCodeGenerator.GenerateInline Method
Generates code to perform a specific operation as part of a CreateTableOperation.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | 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. |
VisualBasicMigrationCodeGenerator.GenerateInline Method (AddForeignKeyOperation, IndentedTextWriter)
Generates code to perform an AddForeignKeyOperation as part of a CreateTableOperation.
protected virtual void GenerateInline( AddForeignKeyOperation addForeignKeyOperation, IndentedTextWriter writer )
Parameters
- addForeignKeyOperation
-
Type:
System.Data.Entity.Migrations.Model.AddForeignKeyOperation
The operation to generate code for.
- writer
-
Type:
System.Data.Entity.Migrations.Utilities.IndentedTextWriter
Text writer to add the generated code to.
VisualBasicMigrationCodeGenerator.GenerateInline Method (AddPrimaryKeyOperation, IndentedTextWriter)
Generates code to perform an AddPrimaryKeyOperation as part of a CreateTableOperation.
protected virtual void GenerateInline( AddPrimaryKeyOperation addPrimaryKeyOperation, IndentedTextWriter writer )
Parameters
- addPrimaryKeyOperation
-
Type:
System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation
The operation to generate code for.
- writer
-
Type:
System.Data.Entity.Migrations.Utilities.IndentedTextWriter
Text writer to add the generated code to.
VisualBasicMigrationCodeGenerator.GenerateInline Method (CreateIndexOperation, IndentedTextWriter)
Generates code to perform a CreateIndexOperation as part of a CreateTableOperation.
protected virtual void GenerateInline( CreateIndexOperation createIndexOperation, IndentedTextWriter writer )
Parameters
- createIndexOperation
-
Type:
System.Data.Entity.Migrations.Model.CreateIndexOperation
The operation to generate code for.
- writer
-
Type:
System.Data.Entity.Migrations.Utilities.IndentedTextWriter
Text writer to add the generated code to.