ModelSnapshot.LastMigrationId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.