Поделиться через


DbComplexPropertyEntry.ComplexProperty - метод

[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]

Возвращает объект, представляющий вложенное сложное свойство данного свойства.

Пространство имен:  System.Data.Entity.Infrastructure
Сборка:  EntityFramework (в EntityFramework.dll)

Синтаксис

'Декларация
<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId := "0#",  _
    Justification := "Rule predates more fluent naming conventions.")> _
Public Function ComplexProperty ( _
    propertyName As String _
) As DbComplexPropertyEntry
'Применение
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

Параметры

  • propertyName
    Тип: System.String
    Имя вложенного свойства.

Возвращаемое значение

Тип: System.Data.Entity.Infrastructure.DbComplexPropertyEntry
Объект, представляющий вложенное свойство.

См. также

Справочник

DbComplexPropertyEntry Класс

System.Data.Entity.Infrastructure - пространство имен