Click or drag to resize

RedisQueryPersistenceServiceIsRegistered Method

Returns true if the query identifier has been registered

Namespace:  SanteDB.Caching.Redis
Assembly:  SanteDB.Caching.Redis (in SanteDB.Caching.Redis.dll) Version: 3.0.481-alpha
Syntax
public bool IsRegistered(
	Guid queryId
)

Parameters

queryId
Type: SystemGuid
The UUID of the stateful query to determine state of

Return Value

Type: Boolean
True if the queryId has been registered with the query provider

Implements

IQueryPersistenceServiceIsRegistered(Guid)
Remarks

This method is used by callers to determine whether an inbound query request has already been executed and registered. Typically when this method returns true, the caller invoke GetQueryResults(Guid, Int32, Int32) rather than re-query the database. This, in effect, locks the results

See Also