ISubscriptionRepository Interface |
Namespace: SanteDB.Core.Services
The ISubscriptionRepository type exposes the following members.
| Name | Description | |
|---|---|---|
| ServiceName |
Gets the service name
(Inherited from IServiceImplementation.) |
| Name | Description | |
|---|---|---|
| Find(ExpressionFuncTModel, Boolean) |
Finds the specified data where the current version matches the query provided
(Inherited from IRepositoryServiceTModel.) | |
| Find(ExpressionFuncTModel, Boolean, Int32, NullableInt32, Int32, ModelSortTModel) |
Finds the specified data with the specified control parameters
(Inherited from IRepositoryServiceTModel.) | |
| Get(Guid) |
Gets the specified model data
(Inherited from IRepositoryServiceTModel.) | |
| Get(Guid, Guid) |
Gets the specified model data at the specified version
(Inherited from IRepositoryServiceTModel.) | |
| Insert |
Inserts the specified model information
(Inherited from IRepositoryServiceTModel.) | |
| Obsolete |
Obsoletes the specified object
(Inherited from IRepositoryServiceTModel.) | |
| Save |
Inserts or updates the specified data
(Inherited from IRepositoryServiceTModel.) |
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.