DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty<TNestedComplexProperty> - метод (Expression<Func<TComplexProperty, TNestedComplexProperty>>)
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает объект, представляющий вложенное сложное свойство данного свойства.
Пространство имен: System.Data.Entity.Infrastructure
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId := "0#", _
Justification := "Rule predates more fluent naming conventions.")> _
Public Function ComplexProperty(Of TNestedComplexProperty) ( _
property As Expression(Of Func(Of TComplexProperty, TNestedComplexProperty)) _
) As DbComplexPropertyEntry(Of TEntity, TNestedComplexProperty)
'Применение
Dim instance As DbComplexPropertyEntry
Dim property As Expression(Of Func(Of TComplexProperty, TNestedComplexProperty))
Dim returnValue As DbComplexPropertyEntry(Of TEntity, TNestedComplexProperty)
returnValue = instance.ComplexProperty(property)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#",
Justification = "Rule predates more fluent naming conventions.")]
public DbComplexPropertyEntry<TEntity, TNestedComplexProperty> ComplexProperty<TNestedComplexProperty>(
Expression<Func<TComplexProperty, TNestedComplexProperty>> property
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = L"0#",
Justification = L"Rule predates more fluent naming conventions.")]
public:
generic<typename TNestedComplexProperty>
DbComplexPropertyEntry<TEntity, TNestedComplexProperty>^ ComplexProperty(
Expression<Func<TComplexProperty, TNestedComplexProperty>^>^ property
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#",
Justification = "Rule predates more fluent naming conventions.")>]
member ComplexProperty :
property:Expression<Func<'TComplexProperty, 'TNestedComplexProperty>> -> DbComplexPropertyEntry<'TEntity, 'TNestedComplexProperty>
JScript does not support generic types and methods.
Параметры типа
- TNestedComplexProperty
Тип вложенного свойства.
Параметры
- property
Тип: System.Linq.Expressions.Expression<Func<TComplexProperty, TNestedComplexProperty>>
Выражение, представляющее вложенное свойство.
Возвращаемое значение
Тип: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TNestedComplexProperty>
Объект, представляющий вложенное свойство.