MigrationCodeGenerator Class
Entity Framework 5.0
Base class for providers that generate code for code-based migrations.
System.Object
System.Data.Entity.Migrations.Design.MigrationCodeGenerator
System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator
System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator
System.Data.Entity.Migrations.Design.MigrationCodeGenerator
System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator
System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator
Namespace: System.Data.Entity.Migrations.Design
Assembly: EntityFramework (in EntityFramework.dll)
The MigrationCodeGenerator type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MigrationCodeGenerator | Initializes a new instance of the MigrationCodeGenerator class. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Generate | Generates the code that should be added to the users project. |
![]() | GetDefaultNamespaces | Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated. |
![]() | 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. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
