Condividi tramite


Metodo DbComplexPropertyEntry<TEntity, TComplexProperty>.Property (String)

[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à annidata della proprietà. Questo metodo può essere utilizzato sia per le proprietà scalari che per quelle complesse.

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 DbComplexPropertyEntry 
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

  • propertyName
    Tipo: System.String
    Nome della proprietà annidata.

Valore restituito

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

Vedere anche

Riferimento

DbComplexPropertyEntry<TEntity, TComplexProperty> Classe

Overload Property

Spazio dei nomi System.Data.Entity.Infrastructure