The RiaClientCache type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RiaClientCache |
Initializes a new instace of the RiaClientCache class.
|
Methods
Name | Description | |
---|---|---|
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 a RiaClientScope that defines a scope of data access.
|
|
CreateTransaction |
Creates a ClientTransaction that allows you to easily cancel changes
made in transaction scope.
(Inherited from ClientCacheBase.) |
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetDefault |
Returns the default RiaClientCache for a given contextType.
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (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 RejectChanges()()()().
(Inherited from ClientCacheBase.) |
|
SaveChanges |
Persists all changes to the server. This is a simple shortcut calling DomainContext.SubmitChanges.
If you need more detailed control over the result of the submit changes operation, you can call the
SubmitChanges()()()() method directly.
(Inherited from ClientCacheBase.) |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
DomainContext |
The DomainContext through which this RiaClientCache accesses the data.
|
|
IsLoading |
Gets a value indicating whether this RiaClientCache is currently fetching data from the server.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable..::..Dispose | (Inherited from ClientCacheBase.) | |
INotifyPropertyChanged..::..PropertyChanged | (Inherited from ClientCacheBase.) |