The ClientScope type exposes the following members.

Constructors

  Name Description
Public method ClientScope
Initializes a new instance of ClientScope class with the given ClientCacheBase.

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.
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.
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.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Release(Object)
Unmark a needed entity.
Public method Release(Type)
Unmark a needed entity type. Calling this method does not release memory.
Public method ToString (Inherited from Object.)

Properties

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

See Also