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

DbCollectionEntry<TEntity, TElement> Methods

Entity Framework 5.0

The DbCollectionEntry<TEntity, TElement> type exposes the following members.

  Name Description
Public method Equals Returns whether the specified query is equal to the current query. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash function for the specified query. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Public method GetType Gets the type for the current query. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Public method GetValidationErrors Validates this property. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Public method 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.
Public method ToString Returns a string representation of the database property values. (Inherited from DbMemberEntry<TEntity, TProperty>.)
Top
Show:
© 2015 Microsoft