ScaffoldedMigration Class

Definition

Represents a scaffolded migration.

C#
public class ScaffoldedMigration
Inheritance
ScaffoldedMigration

Constructors

Properties

FileExtension

Gets the file extension code files should use.

MetadataCode

Gets the contents of the migration metadata file.

MigrationCode

Gets the contents of the migration file.

MigrationId

Gets the migration's ID.

MigrationSubNamespace

Gets the migration's sub-namespace.

PreviousMigrationId

Gets the previous migration's ID.

SnapshotCode

Gets the contents of the model snapshot file.

SnapshotName

Gets the model snapshot's name.

SnapshotSubnamespace

Gets the model snapshot's sub-namespace.

Applies to

Product Versions
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0