MigrationCodeGenerator Class
Base class for providers that generate code for code-based migrations.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Migrations.Design.MigrationCodeGenerator
System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator
System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator
Name | Description | |
---|---|---|
![]() | MigrationCodeGenerator() | Initializes a new instance of the MigrationCodeGenerator class. |
Name | Description | |
---|---|---|
![]() | AnnotationGenerators | Gets the AnnotationCodeGenerator instances that are being used. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | Generate(String, IEnumerable<MigrationOperation>, String, String, String, String) | Generates the code that should be added to the users project. |
![]() | GetDefaultNamespaces(Boolean) | Gets the default namespaces that must be output as "using" or "Imports" directives for any code generated. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetNamespaces(IEnumerable<MigrationOperation>) | 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.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.