DbCollectionEntry Class

 

Represents a non-generic version of the DbCollectionEntry<TEntity, TElement> class.

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

System.Object
  System.Data.Entity.Infrastructure.DbMemberEntry
    System.Data.Entity.Infrastructure.DbCollectionEntry

public class DbCollectionEntry : DbMemberEntry

NameDescription
System_CAPS_pubpropertyCurrentValue

Gets or sets the current value of the navigation property. The current value is the entity that the navigation property references.(Overrides DbMemberEntry.CurrentValue.)

System_CAPS_pubpropertyEntityEntry

Gets the DbEntityEntry to which this navigation property belongs.(Overrides DbMemberEntry.EntityEntry.)

System_CAPS_pubpropertyIsLoaded

Gets or sets a value indicating whether all entities of this collection have been loaded from the database.

System_CAPS_pubpropertyName

Gets the property name.(Overrides DbMemberEntry.Name.)

NameDescription
System_CAPS_pubmethodCast<TEntity, TElement>()

Returns the equivalent generic DbCollectionEntry<TEntity, TElement> object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified entry is equal to the current entry.(Inherited from DbMemberEntry.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash function for this entry.(Inherited from DbMemberEntry.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from DbMemberEntry.)

System_CAPS_pubmethodGetValidationErrors()

Validates this property.(Inherited from DbMemberEntry.)

System_CAPS_pubmethodLoad()

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.

System_CAPS_pubmethodLoadAsync()

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.

System_CAPS_pubmethodLoadAsync(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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodQuery()

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.

System_CAPS_pubmethodToString()

Returns a string representation of the database property values.(Inherited from DbMemberEntry.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.