語言

ModelSnapshot.LastMigrationId Property

Definition

The ID of the latest migration applied to the model when the snapshot was created.

[System.Runtime.CompilerServices.Nullable(2)]
public virtual string? LastMigrationId { get; }
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.LastMigrationId : string
Public Overridable ReadOnly Property LastMigrationId As String

Property Value

Attributes

Remarks

See Database migrations for more information and examples.

Applies to