Condividi tramite


Metodo DbEntityEntry.Property

[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 oggetto che rappresenta una proprietà scalare o complessa dell'entità.

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

Sintassi

'Dichiarazione
Public Function Property ( _
    propertyName As String _
) As DbPropertyEntry
'Utilizzo
Dim instance As DbEntityEntry 
Dim propertyName As String 
Dim returnValue As DbPropertyEntry 

returnValue = instance.Property(propertyName)
public DbPropertyEntry Property(
    string propertyName
)
public:
DbPropertyEntry^ Property(
    String^ propertyName
)
member Property : 
        propertyName:string -> DbPropertyEntry
public function Property(
    propertyName : String
) : DbPropertyEntry

Parametri

Valore restituito

Tipo: System.Data.Entity.Infrastructure.DbPropertyEntry
Oggetto che rappresenta la proprietà.

Vedere anche

Riferimento

DbEntityEntry Classe

Spazio dei nomi System.Data.Entity.Infrastructure