The EntityClientCache type exposes the following members.

Constructors

  Name Description
Public method EntityClientCache
Initializes a new instance of the EntityClientCache class.

Methods

  Name Description
Public method AcceptChanges
Accepts all changes made to entities in the ObjectContext.
Public method BulkChanges
Used to group massive changes to entities and to allow manual explicit changes of entity states.
(Inherited from ClientCacheBase.)
Public method CleanupCache
Forces unused memory to be released, unused entities to be detached from the context. It is usually done automatically, so programmers rarely need to call this method in code.
(Inherited from ClientCacheBase.)
Public method Clear
Clears client-side cache entirely. Call this method if you want to make sure that following queries will fetch fresh data from the server.
(Inherited from ClientCacheBase.)
Public method CreateScope
Public method CreateTransaction
Creates a ClientTransaction that allows you to easily cancel changes made in transaction scope.
(Inherited from ClientCacheBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member GetDefault
Returns the default EntityClientCache for a given contextType.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh
Refreshes data in all C1DataSource controls connected to this ClientCacheBase.
(Inherited from ClientCacheBase.)
Public method RejectChanges
Reverts all pending changes for this ClientCacheBase. It is recommended to call this method instead of Refresh(RefreshMode, Object).
(Inherited from ClientCacheBase.)
Public method SaveChanges
Persists all changes to the server. It is recommended to call this method instead of SaveChanges()()()().
(Inherited from ClientCacheBase.)
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property ObjectContext
The ObjectContext through which EntityClientCache accesses the data.

Explicit Interface Implementations

See Also