DbComplexPropertyEntry<TEntity, TComplexProperty>.Property Method
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Property(String) | Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties. |
![]() | Property<TNestedProperty>(Expression<Func<TComplexProperty, TNestedProperty>>) | Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties. |
![]() | Property<TNestedProperty>(String) | Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties. |
DbComplexPropertyEntry<TEntity, TComplexProperty>.Property Method (String)
Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.
Parameters
- propertyName
-
Type:
System.String
The name of the nested property.
Return Value
Type: System.Data.Entity.Infrastructure.DbPropertyEntryAn object representing the nested property.
DbComplexPropertyEntry<TEntity, TComplexProperty>.Property<TNestedProperty> Method (Expression<Func<TComplexProperty, TNestedProperty>>)
Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.
[SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#", Justification = "Rule predates more fluent naming conventions.")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public DbPropertyEntry<TEntity, TNestedProperty> Property<TNestedProperty>( Expression<Func<TComplexProperty, TNestedProperty>> property )
Parameters
- property
-
Type:
System.Linq.Expressions.Expression<Func<TComplexProperty, TNestedProperty>>
An expression representing the nested property.
Return Value
Type: System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity, TNestedProperty>An object representing the nested property.
Type Parameters
- TNestedProperty
The type of the nested property.
DbComplexPropertyEntry<TEntity, TComplexProperty>.Property<TNestedProperty> Method (String)
Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.
public DbPropertyEntry<TEntity, TNestedProperty> Property<TNestedProperty>( string propertyName )
Parameters
- propertyName
-
Type:
System.String
The name of the nested property.
Return Value
Type: System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity, TNestedProperty>An object representing the nested property.
Type Parameters
- TNestedProperty
The type of the nested property.