DbMigrationsConfiguration.ContextType - свойство
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает или задает производный DbContext, представляющий перенесенную модель.
Пространство имен: System.Data.Entity.Migrations
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
Public Property ContextType As Type
Get
Set
'Применение
Dim instance As DbMigrationsConfiguration
Dim value As Type
value = instance.ContextType
instance.ContextType = value
public Type ContextType { get; set; }
public:
property Type^ ContextType {
Type^ get ();
void set (Type^ value);
}
member ContextType : Type with get, set
function get ContextType () : Type
function set ContextType (value : Type)
Значение свойства
Тип: System.Type