The ClientCacheBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
BulkChanges |
Used to group massive changes to entities and to allow manual explicit changes of entity states.
|
|
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.
|
|
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.
|
|
CreateScope |
Creates a ClientScope that defines a scope of data access.
|
|
CreateTransaction |
Creates a ClientTransaction that allows you to easily cancel changes
made in transaction scope.
|
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Refresh |
Refreshes data in all C1DataSource controls connected to this ClientCacheBase.
|
|
RejectChanges |
Reverts all pending changes for this ClientCacheBase.
It is recommended to call this method instead of Refresh(RefreshMode, Object).
|
|
SaveChanges |
Persists all changes to the server. It is recommended to call this method instead of
SaveChanges()()()().
|
|
ToString | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable..::..Dispose | ||
INotifyPropertyChanged..::..PropertyChanged |