The ClientScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClientScope |
Initializes a new instance of ClientScope class with the given ClientCacheBase.
|
Methods
Name | Description | |
---|---|---|
AddRef(Object) |
Marks an entity as needed. Needed entities are not detached/released from the context
until the client scope is disposed.
|
|
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.
|
|
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.
|
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Release(Object) |
Unmark a needed entity.
|
|
Release(Type) |
Unmark a needed entity type. Calling this method does not release memory.
|
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ClientCache |
Gets the ClientCacheBase to which this client scope is connected.
|