Share via


ScaffoldedMigration Class

Definition

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

public class ScaffoldedMigration
[System.Serializable]
public class ScaffoldedMigration
type ScaffoldedMigration = class
Public Class ScaffoldedMigration
Inheritance
ScaffoldedMigration
Attributes

Constructors

ScaffoldedMigration()

Properties

DesignerCode

Gets or sets the scaffolded migration code that should be stored in a code behind file.

Directory

Gets or sets the subdirectory in the user's project that this migration should be saved in.

IsRescaffold

Gets or sets whether the migration was re-scaffolded.

Language

Gets or sets the programming language used for this migration. Typically used for the file extension of the generated code.

MigrationId

Gets or sets the unique identifier for this migration. Typically used for the file name of the generated code.

Resources

Gets a dictionary of string resources to add to the migration resource file.

UserCode

Gets or sets the scaffolded migration code that the user can edit.

Applies to