DbEntityEntry<TEntity>.ComplexProperty<TComplexProperty> Method (Expression<Func<TEntity, TComplexProperty>>)

Entity Framework 5.0

Gets an object that represents a complex property of this entity.

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

public DbComplexPropertyEntry<TEntity, TComplexProperty> ComplexProperty<TComplexProperty>(
	Expression<Func<TEntity, TComplexProperty>> property
)

Type Parameters

TComplexProperty

The type of the complex property.

Parameters

property
Type: System.Linq.Expressions.Expression<Func<TEntity, TComplexProperty>>

The property.

Return Value

Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TComplexProperty>
An object representing the complex property.
Show: