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

The MigrationCodeGenerator type exposes the following members.

Protected methodMigrationCodeGeneratorInitializes a new instance of the MigrationCodeGenerator class.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerate Generates the code that should be added to the users project.
Protected methodGetDefaultNamespaces Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated.
Public methodGetHashCode (Inherited from Object.)
Protected methodGetNamespaces Gets the namespaces that must be output as "using" or "Imports" directives to handle the code generated by the given operations.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (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.