MigrationScaffolder Class

 

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

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

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

public class MigrationScaffolder

NameDescription
System_CAPS_pubmethodMigrationScaffolder(DbMigrationsConfiguration)

Initializes a new instance of the MigrationScaffolder class.

NameDescription
System_CAPS_pubpropertyNamespace

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodScaffold(String)

Scaffolds a code based migration to apply any pending model changes to the database.

System_CAPS_pubmethodScaffold(String, Boolean)

Scaffolds a code based migration to apply any pending model changes to the database.

System_CAPS_pubmethodScaffoldInitialCreate()

Scaffolds the initial code-based migration corresponding to a previously run database initializer.

System_CAPS_pubmethodToString()

(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.