Condividi tramite


Proprietà DbContextInfo.IsConstructible

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Ottiene un valore che indica se è possibile creare il tipo DbContext sottostante.

Spazio dei nomi:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public Overridable ReadOnly Property IsConstructible As Boolean 
    Get
'Utilizzo
Dim instance As DbContextInfo 
Dim value As Boolean 

value = instance.IsConstructible
public virtual bool IsConstructible { get; }
public:
virtual property bool IsConstructible {
    bool get ();
}
abstract IsConstructible : bool 
override IsConstructible : bool
function get IsConstructible () : boolean

Valore proprietà

Tipo: System.Boolean
true se è possibile creare il tipo DbContext sottostante. In caso contrario, false.

Vedere anche

Riferimento

DbContextInfo Classe

Spazio dei nomi System.Data.Entity.Infrastructure