DbCollectionEntry Class
Entity Framework 5.0
A non-generic version of the DbCollectionEntry(Of TEntity, TElement) class.
System.Object
System.Data.Entity.Infrastructure.DbMemberEntry
System.Data.Entity.Infrastructure.DbCollectionEntry
System.Data.Entity.Infrastructure.DbMemberEntry
System.Data.Entity.Infrastructure.DbCollectionEntry
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The DbCollectionEntry type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CurrentValue | Gets or sets the current value of the navigation property. The current value is the entity that the navigation property references. (Overrides DbMemberEntry.CurrentValue.) |
![]() | EntityEntry | The DbEntityEntry to which this navigation property belongs. (Overrides DbMemberEntry.EntityEntry.) |
![]() | IsLoaded | Gets a value indicating whether the collection of entities has been loaded from the database. |
![]() | Name | Gets the property name. (Overrides DbMemberEntry.Name.) |
| Name | Description | |
|---|---|---|
![]() | Cast(Of TEntity, TElement) | Returns the equivalent generic DbCollectionEntry(Of TEntity, TElement) object. |
![]() | Equals | Returns whether the specified entry is equal to the current query. (Inherited from DbMemberEntry.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Returns the hash function for the specified entry. (Inherited from DbMemberEntry.) |
![]() | GetType | Gets the type for the current entry. (Inherited from DbMemberEntry.) |
![]() | GetValidationErrors | Validates this property. (Inherited from DbMemberEntry.) |
![]() | Load | Loads the collection of entities from the database. Note that entities that already exist in the context are not overwritten with values from the database. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Query | Returns the query that would be used to load this collection from the database. The returned query can be modified using LINQ to perform filtering or operations in the database, such as counting the number of entities in the collection in the database without actually loading them. |
![]() | ToString | Returns a string representation of the database property values. (Inherited from DbMemberEntry.) |
Show:
