MigrationCodeGenerator Class

 

Base class for providers that generate code for code-based migrations.

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


public abstract class MigrationCodeGenerator

NameDescription
System_CAPS_protmethodMigrationCodeGenerator()

Initializes a new instance of the MigrationCodeGenerator class.

NameDescription
System_CAPS_pubpropertyAnnotationGenerators

Gets the AnnotationCodeGenerator instances that are being used.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

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

Generates the code that should be added to the users project.

System_CAPS_protmethodGetDefaultNamespaces(Boolean)

Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated.

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.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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