Condividi tramite


Metodo DbComplexPropertyEntry.ComplexProperty

[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 complessa della proprietà.

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

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId := "0#",  _
    Justification := "Rule predates more fluent naming conventions.")> _
Public Function ComplexProperty ( _
    propertyName As String _
) As DbComplexPropertyEntry
'Utilizzo
Dim instance As DbComplexPropertyEntry 
Dim propertyName As String 
Dim returnValue As DbComplexPropertyEntry 

returnValue = instance.ComplexProperty(propertyName)
[SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#", 
    Justification = "Rule predates more fluent naming conventions.")]
public DbComplexPropertyEntry ComplexProperty(
    string propertyName
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = L"0#", 
    Justification = L"Rule predates more fluent naming conventions.")]
public:
DbComplexPropertyEntry^ ComplexProperty(
    String^ propertyName
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#", 
    Justification = "Rule predates more fluent naming conventions.")>]
member ComplexProperty : 
        propertyName:string -> DbComplexPropertyEntry
public function ComplexProperty(
    propertyName : String
) : DbComplexPropertyEntry

Parametri

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

Valore restituito

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

Vedere anche

Riferimento

DbComplexPropertyEntry Classe

Spazio dei nomi System.Data.Entity.Infrastructure