VisualBasicMigrationCodeGenerator Class

 

Generates VB.Net code for a code-based migration.

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Migrations.Design.MigrationCodeGenerator
    System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator

[SuppressMessageAttribute("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
public class VisualBasicMigrationCodeGenerator : MigrationCodeGenerator

NameDescription
System_CAPS_pubmethodVisualBasicMigrationCodeGenerator()

Initializes a new instance of the VisualBasicMigrationCodeGenerator class.

NameDescription
System_CAPS_pubpropertyAnnotationGenerators

Gets the AnnotationCodeGenerator instances that are being used.(Inherited from MigrationCodeGenerator.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGenerate(AddColumnOperation, IndentedTextWriter)

Generates code to perform an AddColumnOperation.

System_CAPS_protmethodGenerate(AddForeignKeyOperation, IndentedTextWriter)

Generates code to perform an AddForeignKeyOperation.

System_CAPS_protmethodGenerate(AddPrimaryKeyOperation, IndentedTextWriter)

Generates code to perform an AddPrimaryKeyOperation.

System_CAPS_protmethodGenerate(AlterColumnOperation, IndentedTextWriter)

Generates code to perform an AlterColumnOperation.

System_CAPS_protmethodGenerate(AlterProcedureOperation, IndentedTextWriter)

Generates code to perform a AlterProcedureOperation.

System_CAPS_protmethodGenerate(AlterTableOperation, IndentedTextWriter)

Generates code for an AlterTableOperation.

System_CAPS_protmethodGenerate(Byte[])

Generates code to specify the default value for a T:byte[] column.

System_CAPS_protmethodGenerate(ColumnModel, IndentedTextWriter, Boolean)

Generates code to specify the definition for a ColumnModel.

System_CAPS_protmethodGenerate(CreateIndexOperation, IndentedTextWriter)

Generates code to perform a CreateIndexOperation.

System_CAPS_protmethodGenerate(CreateProcedureOperation, IndentedTextWriter)

Generates code to perform a CreateProcedureOperation.

System_CAPS_protmethodGenerate(CreateTableOperation, IndentedTextWriter)

Generates code to perform a CreateTableOperation.

System_CAPS_protmethodGenerate(DateTime)

Generates code to specify the default value for a DateTime column.

System_CAPS_protmethodGenerate(DateTimeOffset)

Generates code to specify the default value for a DateTimeOffset column.

System_CAPS_protmethodGenerate(DbGeography)

Generates code to specify the default value for a DbGeography column.

System_CAPS_protmethodGenerate(DbGeometry)

Generates code to specify the default value for a DbGeometry column.

System_CAPS_protmethodGenerate(Decimal)

Generates code to specify the default value for a Decimal column.

System_CAPS_protmethodGenerate(DropColumnOperation, IndentedTextWriter)

Generates code to perform a DropColumnOperation.

System_CAPS_protmethodGenerate(DropForeignKeyOperation, IndentedTextWriter)

Generates code to perform a DropForeignKeyOperation.

System_CAPS_protmethodGenerate(DropIndexOperation, IndentedTextWriter)

Generates code to perform a DropIndexOperation.

System_CAPS_protmethodGenerate(DropPrimaryKeyOperation, IndentedTextWriter)

Generates code to perform a DropPrimaryKeyOperation.

System_CAPS_protmethodGenerate(DropProcedureOperation, IndentedTextWriter)

Generates code to perform a DropProcedureOperation.

System_CAPS_protmethodGenerate(DropTableOperation, IndentedTextWriter)

Generates code to perform a DropTableOperation.

System_CAPS_protmethodGenerate(Guid)

Generates code to specify the default value for a Guid column.

System_CAPS_protmethodGenerate(IEnumerable<MigrationOperation>, String, String)

Generates the primary code file that the user can view and edit.

System_CAPS_protmethodGenerate(IEnumerable<String>, IndentedTextWriter)

Generates code to specify a set of column names using a lambda expression.

System_CAPS_protmethodGenerate(Int64)

Generates code to specify the default value for a Int64 column.

System_CAPS_protmethodGenerate(MoveProcedureOperation, IndentedTextWriter)

Generates code to perform a MoveProcedureOperation.

System_CAPS_protmethodGenerate(MoveTableOperation, IndentedTextWriter)

Generates code to perform a MoveTableOperation.

System_CAPS_protmethodGenerate(Object)

Generates code to specify the default value for a column of unknown data type.

System_CAPS_protmethodGenerate(ParameterModel, IndentedTextWriter, Boolean)

Generates code to perform a ParameterModel.

System_CAPS_protmethodGenerate(RenameColumnOperation, IndentedTextWriter)

Generates code to perform a RenameColumnOperation.

System_CAPS_protmethodGenerate(RenameIndexOperation, IndentedTextWriter)

Generates code to perform a RenameIndexOperation.

System_CAPS_protmethodGenerate(RenameProcedureOperation, IndentedTextWriter)

Generates code to perform a RenameProcedureOperation.

System_CAPS_protmethodGenerate(RenameTableOperation, IndentedTextWriter)

Generates code to perform a RenameTableOperation.

System_CAPS_protmethodGenerate(Single)

Generates code to specify the default value for a Single column.

System_CAPS_protmethodGenerate(SqlOperation, IndentedTextWriter)

Generates code to perform a SqlOperation.

System_CAPS_protmethodGenerate(String)

Generates code to specify the default value for a String column.

System_CAPS_pubmethodGenerate(String, IEnumerable<MigrationOperation>, String, String, String, String)
System_CAPS_protmethodGenerate(String, String, String, String, String)

Generates the code behind file with migration metadata.

System_CAPS_protmethodGenerate(TimeSpan)

Generates code to specify the default value for a TimeSpan column.

System_CAPS_protmethodGenerateAnnotation(String, Object, IndentedTextWriter)

Generates code for the given annotation value, which may be null. The default behavior is to use an AnnotationCodeGenerator if one is registered, otherwise call ToString on the annotation value.

System_CAPS_protmethodGenerateAnnotations(IDictionary<String, AnnotationValues>, IndentedTextWriter)

Generates code for to re-create the given dictionary of annotations for use when passing these annotations as a parameter of a DbMigration call.

System_CAPS_protmethodGenerateAnnotations(IDictionary<String, Object>, IndentedTextWriter)

Generates code for to re-create the given dictionary of annotations for use when passing these annotations as a parameter of a DbMigration call.

System_CAPS_protmethodGenerateInline(AddForeignKeyOperation, IndentedTextWriter)

Generates code to perform an AddForeignKeyOperation as part of a CreateTableOperation.

System_CAPS_protmethodGenerateInline(AddPrimaryKeyOperation, IndentedTextWriter)

Generates code to perform an AddPrimaryKeyOperation as part of a CreateTableOperation.

System_CAPS_protmethodGenerateInline(CreateIndexOperation, IndentedTextWriter)

Generates code to perform a CreateIndexOperation as part of a CreateTableOperation.

System_CAPS_protmethodGetDefaultNamespaces(Boolean)

Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated.(Inherited from MigrationCodeGenerator.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetNamespaces(IEnumerable<MigrationOperation>)

Gets the namespaces that must be output as "using" or "Imports" directives to handle the code generated by the given operations.(Inherited from MigrationCodeGenerator.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodQuote(String)

Quotes an identifier using appropriate escaping to allow it to be stored in a string.

System_CAPS_protmethodScrubName(String)

Removes any invalid characters from the name of an database artifact.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodTranslateColumnType(PrimitiveTypeKind)

Gets the type name to use for a column of the given data type.

System_CAPS_protmethodWriteClassAttributes(IndentedTextWriter, Boolean)

Generates class attributes.

System_CAPS_protmethodWriteClassEnd(String, IndentedTextWriter)

Generates the closing code for a class that was started with WriteClassStart.

System_CAPS_protmethodWriteClassStart(String, String, IndentedTextWriter, String, Boolean, IEnumerable<String>)

Generates a namespace, using statements and class definition.

System_CAPS_protmethodWriteProperty(String, String, IndentedTextWriter)

Generates a property to return the source or target model in the code behind file.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.