Share via


ScaffoldedMigration Class

Definition

Represents a scaffolded migration.

public class ScaffoldedMigration
[System.Runtime.CompilerServices.Nullable(0)]
public class ScaffoldedMigration
type ScaffoldedMigration = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type ScaffoldedMigration = class
Public Class ScaffoldedMigration
Inheritance
ScaffoldedMigration
Attributes

Constructors

Name Description
ScaffoldedMigration(String, String, String, String, String, String, String, String, String)

Initializes a new instance of the ScaffoldedMigration class.

Properties

Name Description
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