The EntityClientCache type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EntityClientCache |
Initializes a new instance of the EntityClientCache class.
|
Methods
Name | Description | |
---|---|---|
AcceptChanges |
Accepts all changes made to entities in the ObjectContext.
|
|
BulkChanges |
Used to group massive changes to entities and to allow manual explicit changes of entity states.
(Inherited from ClientCacheBase.) |
|
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.) |
|
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.) |
|
CreateScope |
Creates an Entity Framework-specific client scope.
|
|
CreateTransaction |
Creates a ClientTransaction that allows you to easily cancel changes
made in transaction scope.
(Inherited from ClientCacheBase.) |
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetDefault |
Returns the default EntityClientCache for a given contextType.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Refresh |
Refreshes data in all C1DataSource controls connected to this ClientCacheBase.
(Inherited from ClientCacheBase.) |
|
RejectChanges |
Reverts all pending changes for this ClientCacheBase.
It is recommended to call this method instead of Refresh(RefreshMode, Object).
(Inherited from ClientCacheBase.) |
|
SaveChanges |
Persists all changes to the server. It is recommended to call this method instead of
SaveChanges()()()().
(Inherited from ClientCacheBase.) |
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ObjectContext |
The ObjectContext through which EntityClientCache accesses the data.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable..::..Dispose | (Inherited from ClientCacheBase.) | |
INotifyPropertyChanged..::..PropertyChanged | (Inherited from ClientCacheBase.) |