EntitySet<TEntity> Members
Include Protected Members
Include Inherited Members
Provides for deferred loading and relationship maintenance for the “many” side of one-to-many and many-to-many relationships
The EntitySet<TEntity> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EntitySet<TEntity> | Initializes a new instance of the EntitySet<TEntity> class |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the total number of items in the EntitySet<TEntity>. | |
Item | Gets or sets the item at the specified index. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds the specified entity to the EntitySet<TEntity>. | |
Assign | Replaces the entities currently associated with this EntitySet<TEntity> with the specified collection. | |
Clear | Removes all entities from this EntitySet<TEntity>. | |
Clone | Creates a shallow copy of the EntitySet<TEntity>. | |
Contains(Object) | Indicates whether a specified object is in the EntitySet<TEntity>. | |
Contains(TEntity) | Indicates whether a specified entity is in the EntitySet<TEntity>. | |
CopyTo(Array, Int32) | Copies the members of the EntitySet<TEntity> to the specified array beginning at the specified array index. | |
CopyTo([], Int32) | Copies the members of the EntitySet<TEntity> to the specified array beginning at the specified array index. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the EntitySet<TEntity>. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IndexOf(Object) | Returns the zero-based index of the first occurrence of the specified object in the collection. | |
IndexOf(TEntity) | Returns the zero-based index of the first occurrence of the specified entity in the collection. | |
Insert | Inserts a specified entity into the EntitySet<TEntity> at the specified index. | |
MemberwiseClone | (Inherited from Object.) | |
Remove(Object) | Removes the specified object from the EntitySet<TEntity>. | |
Remove(TEntity) | Removes the specified entity from the EntitySet<TEntity>. | |
RemoveAt | Removes the entity at the specified zero-based index of the EntitySet<TEntity>. | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
OnChanged | Raised after a change to this EntitySet<TEntity> object. | |
OnChanging | Raised before a change to this EntitySet<TEntity> object. | |
OnSync | Raised when the EntitySet<TEntity> object is synchronized with the entities that it represents. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | Not implemented. Use Add(TEntity). | |
IQueryable.ElementType | Gets the type of the items in the EntitySet<TEntity>. | |
IQueryable.Expression | Gets the expression tree of the most recent Language Integrated Query (LINQ) query of the EntityList<TEntity>. | |
IEnumerable.GetEnumerator | Returns an object that iterates the EntitySet<TEntity>. | |
IList.Insert | Inserts the specified object into the EntitySet<TEntity> at the specified index. | |
IList.IsFixedSize | Not implemented. | |
ICollection<TEntity>.IsReadOnly | Not implemented. | |
IList.IsReadOnly | Not implemented. | |
ICollection.IsSynchronized | Not implemented. | |
IList.Item | Gets or sets the item at the specified index. | |
IQueryable.Provider | Gets an object that translates expression tree queries into Collaborative Application Markup Language (CAML) queries and executes them. | |
ICollection.SyncRoot | Not implemented. |
Top