MigratorBase.GetDatabaseMigrations Method ()

 

Gets a list of the migrations that have been applied to the database.

Namespace:   System.Data.Entity.Migrations.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public virtual IEnumerable<string> GetDatabaseMigrations()

Return Value

Type: System.Collections.Generic.IEnumerable<String>

List of migration IDs.