VisualBasicMigrationCodeGenerator Class
Entity Framework 5.0
Generates Visual Basic .Net code for a code-based migration.
System.Object
System.Data.Entity.Migrations.Design.MigrationCodeGenerator
System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator
System.Data.Entity.Migrations.Design.MigrationCodeGenerator
System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator
Namespace: System.Data.Entity.Migrations.Design
Assembly: EntityFramework (in EntityFramework.dll)
The VisualBasicMigrationCodeGenerator type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | VisualBasicMigrationCodeGenerator | Initializes a new instance of the VisualBasicMigrationCodeGenerator class. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Generate(Byte) | Generates code to specify the default value for a Byte column. |
![]() | Generate(Byte()) | Generates code to specify the default value for a Byte column. |
![]() | Generate(DbGeography) | Generates code to specify the default value for a DbGeography column. |
![]() | Generate(DbGeometry) | Generates code to specify the default value for a DbGeometry column. |
![]() | Generate(DateTime) | Generates code to specify the default value for a DateTime column. |
![]() | Generate(DateTimeOffset) | Generates code to specify the default value for a DateTimeOffset column. |
![]() | Generate(Decimal) | Generates code to specify the default value for a Decimal column. |
![]() | Generate(Guid) | Generates code to specify the default value for a Guid column. |
![]() | Generate(Int64) | Generates code to specify the default value for a Int64 column. |
![]() | Generate(Object) | Generates code to specify the default value for a column of unknown data type. |
![]() | Generate(Single) | Generates code to specify the default value for a Single column. |
![]() | Generate(String) | Generates code to specify the default value for a String column. |
![]() | Generate(TimeSpan) | Generates code to specify the default value for a TimeSpan column. |
![]() | Generate(IEnumerable(Of String), IndentedTextWriter) | Generates code to specify a set of column names using a lambda expression. |
![]() | Generate(AddColumnOperation, IndentedTextWriter) | Generates code to perform an AddColumnOperation. |
![]() | Generate(AddForeignKeyOperation, IndentedTextWriter) | Generates code to perform an AddForeignKeyOperation. |
![]() | Generate(AddPrimaryKeyOperation, IndentedTextWriter) | Generates code to perform an AddPrimaryKeyOperation. |
![]() | Generate(AlterColumnOperation, IndentedTextWriter) | Generates code to perform an AlterColumnOperation. |
![]() | Generate(CreateIndexOperation, IndentedTextWriter) | Generates code to perform a CreateIndexOperation. |
![]() | Generate(CreateTableOperation, IndentedTextWriter) | Generates code to perform a CreateTableOperation. |
![]() | Generate(DropColumnOperation, IndentedTextWriter) | Generates code to perform a DropColumnOperation. |
![]() | Generate(DropForeignKeyOperation, IndentedTextWriter) | Generates code to perform a DropForeignKeyOperation. |
![]() | Generate(DropIndexOperation, IndentedTextWriter) | Generates code to perform a DropIndexOperation. |
![]() | Generate(DropPrimaryKeyOperation, IndentedTextWriter) | Generates code to perform a DropPrimaryKeyOperation. |
![]() | Generate(DropTableOperation, IndentedTextWriter) | Generates code to perform a DropTableOperation. |
![]() | Generate(MoveTableOperation, IndentedTextWriter) | Generates code to perform a MoveTableOperation. |
![]() | Generate(RenameColumnOperation, IndentedTextWriter) | Generates code to perform a RenameColumnOperation. |
![]() | Generate(RenameTableOperation, IndentedTextWriter) | Generates code to perform a RenameTableOperation. |
![]() | Generate(SqlOperation, IndentedTextWriter) | Generates code to perform a SqlOperation. |
![]() | Generate(ColumnModel, IndentedTextWriter, Boolean) | Generates code to specify the definition for a ColumnModel. |
![]() | Generate(IEnumerable(Of MigrationOperation), String, String) | Generates the primary code file that the user can view and edit. |
![]() | Generate(String, String, String, String, String) | Generates the code behind file with migration metadata. |
![]() | Generate(String, IEnumerable(Of MigrationOperation), String, String, String, String) | Generates the code behind file with migration metadata. (Overrides MigrationCodeGenerator.Generate(String, IEnumerable(Of MigrationOperation), String, String, String, String).) |
![]() | 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. |
![]() | GetDefaultNamespaces | Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated. (Inherited from MigrationCodeGenerator.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetNamespaces | Gets the namespaces that must be output as "using" or "Imports" directives to handle the code generated by the given operations. (Inherited from MigrationCodeGenerator.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Quote | Quotes an identifier using appropriate escaping to allow it to be stored in a string. |
![]() | ScrubName | Removes any invalid characters from the name of an database artifact. |
![]() | ToString | (Inherited from Object.) |
![]() | TranslateColumnType | Gets the type name to use for a column of the given data type. |
![]() | WriteClassEnd | Generates the closing code for a class that was started with WriteClassStart. |
![]() | WriteClassStart | Generates a namespace, using statements and class definition. |
![]() | WriteProperty | Generates a property to return the source or target model in the code behind file. |
Show:
