Export (0) Print
Expand All

MigrationCodeGenerator Class

Entity Framework 5.0

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.

  NameDescription
Protected methodMigrationCodeGeneratorInitializes a new instance of the MigrationCodeGenerator class.
Top

  NameDescription
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.)
Top

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