DbCollectionEntry<TEntity, TElement> Class
Instances of this class are returned from the Collection method of DbEntityEntry<TEntity> and allow operations such as loading to be performed on the an entity's collection navigation properties.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Infrastructure.DbMemberEntry<TEntity, TProperty>
System.Data.Entity.Infrastructure.DbCollectionEntry<TEntity, TElement>
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<TEntity, TProperty>.CurrentValue.) |
![]() | EntityEntry | The DbEntityEntry<TEntity> to which this navigation property belongs.(Overrides DbMemberEntry<TEntity, TProperty>.EntityEntry.) |
![]() | IsLoaded | Gets or sets a value indicating whether all entities of this collection have been loaded from the database. |
![]() | Name | Gets the property name.(Overrides DbMemberEntry<TEntity, TProperty>.Name.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | Specifies whether the object is equal to the specified object.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Gets the hash code associated with the object.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | GetType() | Gets the Type of the current instance.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | GetValidationErrors() | Validates this property.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | 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. |
![]() | LoadAsync() | Asynchronously 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. |
![]() | LoadAsync(CancellationToken) | Asynchronously 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 DbMemberEntry<TEntity, TProperty>.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
Name | Description | |
---|---|---|
![]() ![]() | Implicit(DbCollectionEntry<TEntity, TElement> to DbCollectionEntry) | Returns a new instance of the non-generic DbCollectionEntry class for the navigation property represented by this object. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.