Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScaffoldedMigration Class

Entity Framework 5.0

Represents a code-based migration that has been scaffolded and is ready to be written to a file.


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

public class ScaffoldedMigration

The ScaffoldedMigration type exposes the following members.

Public methodScaffoldedMigrationInitializes a new instance of the ScaffoldedMigration class.

Public propertyDesignerCode Gets or sets the scaffolded migration code that should be stored in a code behind file.
Public propertyDirectory Gets or sets the subdirectory in the user's project that this migration should be saved in.
Public propertyLanguage Gets or sets the programming language used for this migration. Typically used for the file extension of the generated code.
Public propertyMigrationId Gets or sets the unique identifier for this migration. Typically used for the file name of the generated code.
Public propertyResources
Public propertyUserCode Gets or sets the scaffolded migration code that the user can edit.

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 methodToString (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.
© 2015 Microsoft