Repository Service with Cancellation Support
ICancelRepositoryService<TModel>
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a repository that can cancel an Act that is in progress
Operations
Cancel
TModel
Guid id
Cancels the specified
Implementations
GenericLocalActRepository<TAct> - (SanteDB.Core.Api)
Represents an act repository service.
This service implementation is abstract or is a generic definition. It is intended to be implemented or constructed at runtime from other services and cannot be used directly
# Example Implementation ```csharp /// Example Implementation using SanteDB.Core.Services; /// Other usings here public class MyCancelRepositoryService : SanteDB.Core.Services.ICancelRepositoryService { public String ServiceName => "My own ICancelRepositoryService`1 service"; ////// Cancels the specified ///public TModel Cancel(Guid id){ throw new System.NotImplementedException(); } } ```
References
Last updated