Partager via


DbComplexPropertyEntry.ComplexProperty, méthode

[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]

Obtient un objet qui représente une propriété complexe imbriquée de cette propriété.

Espace de noms :  System.Data.Entity.Infrastructure
Assembly :  EntityFramework (dans EntityFramework.dll)

Syntaxe

'Déclaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId := "0#",  _
    Justification := "Rule predates more fluent naming conventions.")> _
Public Function ComplexProperty ( _
    propertyName As String _
) As DbComplexPropertyEntry
'Utilisation
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

Paramètres

  • propertyName
    Type : System.String
    Nom de la propriété imbriquée.

Valeur de retour

Type : System.Data.Entity.Infrastructure.DbComplexPropertyEntry
Objet qui représente la propriété imbriquée.

Voir aussi

Référence

DbComplexPropertyEntry Classe

Espace de noms System.Data.Entity.Infrastructure