Click or drag to resize

IQueryPersistenceServiceIsRegistered Method

Returns true if the query identifier has been registered

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
bool IsRegistered(
	Guid queryId
)

Parameters

queryId  Guid
The UUID of the stateful query to determine state of

Return Value

Boolean
True if the queryId has been registered with the query provider
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