The RiaClientScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RiaClientScope |
Initializes a new instance of the RiaClientScope class with the specified RiaClientCache.
|
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.
(Inherited from ClientScope.) |
|
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.) |
|
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.) |
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
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.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetItems<(Of <<'(T>)>>)(EntityQuery<(Of <<'(T>)>>)) |
Gets a client view of entities loaded using a given query.
|
|
GetItems<(Of <<'(T>)>>)(String, IDictionary<(Of <<'(String, Object>)>>)) |
Gets a client view of entities loaded using a given queryName.
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Release(Object) |
Unmark a needed entity.
(Inherited from ClientScope.) |
|
Release(Type) |
Unmark a needed entity type. Calling this method does not release memory.
(Inherited from ClientScope.) |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ClientCache |
Gets the RiaClientCache this client scope is connected to.
|