Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DbEntityEntry.Collection Method

Entity Framework 5.0

Gets an object that represents the collection navigation property from this entity to a collection of related entities.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)
public DbCollectionEntry Collection(
	string navigationProperty
)

Parameters

navigationProperty
Type: System.String

The name of the navigation property.

Return Value

Type: System.Data.Entity.Infrastructure.DbCollectionEntry
An object representing the navigation property.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.