Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

MigrationScaffolder Class

Entity Framework 5.0

Scaffolds code-based migrations to apply pending model changes to the database.

System.Object
  System.Data.Entity.Migrations.Design.MigrationScaffolder

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

The MigrationScaffolder type exposes the following members.

  NameDescription
Public methodMigrationScaffolderInitializes a new instance of the MigrationScaffolder class.
Top
  NameDescription
Public propertyNamespace Gets or sets the namespace used in the migration's generated code. By default, this is the same as MigrationsNamespace on the migrations configuration object passed into the constructor. For VB.NET projects, this will need to be updated to take into account the project's root namespace.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodScaffold(String) Scaffolds a code based migration to apply any pending model changes to the database.
Public methodScaffold(String, Boolean)Scaffolds a code based migration to apply any pending model changes to the database.
Public methodScaffoldInitialCreate Scaffolds the initial code-based migration corresponding to a previously run database initializer.
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. All rights reserved.