Click or drag to resize

ISubscriptionRepository Interface

Represents a repository which maintains subscription definitions

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface ISubscriptionRepository : IRepositoryService<SubscriptionDefinition>, 
	IServiceImplementation

The ISubscriptionRepository type exposes the following members.

Properties
 NameDescription
Public propertyServiceName Gets the service name
(Inherited from IServiceImplementation)
Top
Methods
 NameDescription
Public methodDelete Delete the object according to the current DeleteMode or according to server configuration
(Inherited from IRepositoryServiceTModel)
Public methodFind Finds the specified data where the current version matches the query provided
(Inherited from IRepositoryServiceTModel)
Public methodGet(Guid) Gets the specified model data
(Inherited from IRepositoryServiceTModel)
Public methodGet(Guid, Guid) Gets the specified model data at the specified version
(Inherited from IRepositoryServiceTModel)
Public methodInsert Inserts the specified model information
(Inherited from IRepositoryServiceTModel)
Public methodSave Inserts or updates the specified data
(Inherited from IRepositoryServiceTModel)
Top
Remarks

This service is used to maintain instances of SubscriptionDefinition which contain SQL (or other query grammar) to allow dCDR instances to easily query data on the HDSI interface using the _subscription parameter. The HDSI maps the subscription ID with the local data provider and then executes the appopriate query against the persistence layer to ensure fast synchronization of new data.

See Also