Repository Service with Cancellation Support

ICancelRepositoryService<TModel> in assembly SanteDB.Core.Api version 2.1.151.0

Summary

Represents a repository that can cancel an Act that is in progress

Operations

OperationResponse/ReturnInput/ParameterDescription

Cancel

TModel

Guid id

Cancels the specified

Implementations

GenericLocalActRepository<TAct> - (SanteDB.Server.Core)

Represents an IRepositoryService which stores Acts and their derivative classes

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