Defines a scope of data access. Provides facilities to create client views.
Namespace:
C1.Silverlight.Data.RiaServicesAssembly: C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)
Syntax
C# |
---|
public class RiaClientScope : ClientScope |
Visual Basic |
---|
Public Class RiaClientScope _ Inherits ClientScope |
Remarks
Usually, one scope is created for each user control,
and disposed with the user control.
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.