Represents the client-side cache, the central hub of data access in the Studio for Entity Framework.
Namespace:
C1.DataAssembly: C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)
Syntax
C# |
---|
public abstract class ClientCacheBase : IDisposable, INotifyPropertyChanged |
Visual Basic |
---|
Public MustInherit Class ClientCacheBase _ Implements IDisposable, INotifyPropertyChanged |
Remarks
Usually, a single instance of this class is created on application startup with an ObjectContext/DomainContext as a parameter and exists during the entire application lifetime, while each form, window, or user control works with data using a ClientScope created by calling the CreateScope()()()() method.
It is the base class for platform-specific implementations, such as C1.Data.Entities.EntityClientCache (Entity Framework), C1.Silverlight.Data.RiaServices.RiaClientCache (RIA Services).