EntityContainer Methods

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

The EntityContainer type exposes the following members.

  Name Description
Protected method AcceptChanges Accepts all changes that have been made to entities or the EntitySet objects in this container.
Public method AddReference Adds a reference to an external EntitySet.
Public method Clear Clears the contents of all EntitySet objects in this container.
Protected method CreateEntitySet<TEntity>() Creates a new EntitySet in this container for the specified entity type.
Protected method CreateEntitySet<TEntity>(EntitySetOperations) Create an EntitySet in this container for the specified EntitySetOperations.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChanges Returns an EntityChangeSet containing the current set of pending changes.
Public method GetEntitySet(Type) Gets the EntitySet for the specified Entity type.
Public method GetEntitySet<TEntity>() Gets the EntitySet for the specified Entity type.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method LoadEntities(IEnumerable) Loads the specified collection of entities into this EntityContainer.
Public method LoadEntities(IEnumerable, LoadBehavior) Loads the specified collection of entities into this EntityContainer using the specified load behavior.
Protected method MemberwiseClone (Inherited from Object.)
Protected method RaisePropertyChanged Raises the PropertyChanged event for the specified property.
Protected method RejectChanges Reverts all changes that have been made to the entities or the EntitySet objects in this container.
Public method ToString (Inherited from Object.)
Public method TryGetEntitySet Tries to get the entity set for the specified Entity type.
Top

  Name Description
Explicit interface implemetation Private method IChangeTracking.AcceptChanges Resets the object’s state to unchanged by accepting the modifications.
Explicit interface implemetation Private method IRevertibleChangeTracking.RejectChanges Resets the object’s state to unchanged by rejecting the modifications.
Top
Show: