Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbPropertyEntry<TEntity, TProperty>.ParentProperty Property

Entity Framework 5.0

The DbPropertyEntry of the property for which this is a nested property. This method will only return a non-null entry for properties of complex objects; it will return null for properties of the entity itself.

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

public DbComplexPropertyEntry ParentProperty { get; }

Property Value

Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry
An entry for the parent complex property, or null if this is an entity property.
© 2015 Microsoft