Defines a scope of data access. Provides facilities to create client views.

Namespace:  C1.Data
Assembly:  C1.Data.Entity (in C1.Data.Entity.dll)

Syntax

C#
public class ClientScope : IItemFactoryProvider, 
	IDisposable
Visual Basic
Public Class ClientScope _
	Implements IItemFactoryProvider, IDisposable

Remarks

Usually, one scope is created per form/window. Entities pinned to the scope (marked as needed) are not evicted from the cache until the scope is disposed or collected by the garbage collector.

This class is a base class for platform-specific scopes, such as C1.Data.Entities.EntityClientCache (Entity Framework) and C1.Silverlight.Data.RiaServices.RiaClientCache (RIA Services).

Inheritance Hierarchy

See Also