Condividi tramite


Proprietà RefType.ElementType

[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 il tipo di entità a cui fa riferimento RefType.

Spazio dei nomi:  System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public Overridable ReadOnly Property ElementType As EntityTypeBase 
    Get
'Utilizzo
Dim instance As RefType 
Dim value As EntityTypeBase 

value = instance.ElementType
public virtual EntityTypeBase ElementType { get; }
public:
virtual property EntityTypeBase^ ElementType {
    EntityTypeBase^ get ();
}
abstract ElementType : EntityTypeBase 
override ElementType : EntityTypeBase
function get ElementType () : EntityTypeBase

Valore proprietà

Tipo: System.Data.Entity.Core.Metadata.Edm.EntityTypeBase
Oggetto EntityTypeBase che rappresenta il tipo di entità a cui fa riferimento RefType.

Vedere anche

Riferimento

RefType Classe

Spazio dei nomi System.Data.Entity.Core.Metadata.Edm