DbComplexPropertyEntry<TEntity, TComplexProperty>.Property Method

 

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodProperty(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

System_CAPS_pubmethodProperty<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.

System_CAPS_pubmethodProperty<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.

public DbPropertyEntry Property(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the nested property.

Return Value

Type: System.Data.Entity.Infrastructure.DbPropertyEntry

An 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.