The RiaClientScope type exposes the following members.

Constructors

  Name Description
Public method RiaClientScope
Initializes a new instance of the RiaClientScope class with the specified RiaClientCache.

Methods

  Name Description
Public method AddRef(Object)
Marks an entity as needed. Needed entities are not detached/released from the context until the client scope is disposed.
(Inherited from ClientScope.)
Public method AddRef(Type)
Mark all entities of a given type as needed. All entities of that type will not be detached from the context until the client scope is disposed.
(Inherited from ClientScope.)
Public method Dispose
Marks the scope as disposed. Entities that were marked needed by a disposed scope may be disposed of (evicted from the cache, detached from context) unless they are needed by other active scopes.
(Inherited from ClientScope.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetItems<(Of <<'(T>)>>)(EntityQuery<(Of <<'(T>)>>))
Gets a client view of entities loaded using a given query.
Public method GetItems<(Of <<'(T>)>>)(String, IDictionary<(Of <<'(String, Object>)>>))
Gets a client view of entities loaded using a given queryName.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Release(Object)
Unmark a needed entity.
(Inherited from ClientScope.)
Public method Release(Type)
Unmark a needed entity type. Calling this method does not release memory.
(Inherited from ClientScope.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property ClientCache
Gets the RiaClientCache this client scope is connected to.

See Also