MigratorBase.GetLocalMigrations - метод

[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]

Возвращает список переносов, определенных в сборке.

Пространство имен:  System.Data.Entity.Migrations.Infrastructure
Сборка:  EntityFramework (в EntityFramework.dll)

Синтаксис

'Декларация
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
Public Overridable Function GetLocalMigrations As IEnumerable(Of String)
'Применение
Dim instance As MigratorBase 
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetLocalMigrations()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public virtual IEnumerable<string> GetLocalMigrations()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
public:
virtual IEnumerable<String^>^ GetLocalMigrations()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
abstract GetLocalMigrations : unit -> IEnumerable<string> 
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
override GetLocalMigrations : unit -> IEnumerable<string> 
public function GetLocalMigrations() : IEnumerable<String>

Возвращаемое значение

Тип: System.Collections.Generic.IEnumerable<String>
Список идентификаторов миграций.

См. также

Справочник

MigratorBase Класс

System.Data.Entity.Migrations.Infrastructure - пространство имен