DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty Method
Namespace:
System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ComplexProperty(String) | Gets an object that represents a nested complex property of this property. |
![]() | ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty, TNestedComplexProperty>>) | Gets an object that represents a nested complex property of this property. |
![]() | ComplexProperty<TNestedComplexProperty>(String) | Gets an object that represents a nested complex property of this property. |
DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty Method (String)
Gets an object that represents a nested complex property of this property.
Parameters
- propertyName
-
Type:
System.String
The name of the nested property.
Return Value
Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntryAn object representing the nested property.
DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty<TNestedComplexProperty> Method (Expression<Func<TComplexProperty, TNestedComplexProperty>>)
Gets an object that represents a nested complex property of this 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 )
Parameters
- property
-
Type:
System.Linq.Expressions.Expression<Func<TComplexProperty, TNestedComplexProperty>>
An expression representing the nested property.
Return Value
Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TNestedComplexProperty>An object representing the nested property.
Type Parameters
- TNestedComplexProperty
The type of the nested property.
DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty<TNestedComplexProperty> Method (String)
Gets an object that represents a nested complex property of this property.
public DbComplexPropertyEntry<TEntity, TNestedComplexProperty> ComplexProperty<TNestedComplexProperty>( string propertyName )
Parameters
- propertyName
-
Type:
System.String
The name of the nested property.
Return Value
Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TNestedComplexProperty>An object representing the nested property.
Type Parameters
- TNestedComplexProperty
The type of the nested property.