Repository Service with Cancellation Support
Last updated
Was this helpful?
Last updated
Was this helpful?
ICancelRepositoryService<TModel>
in assembly SanteDB.Core.Api version 3.0.1980.0
Represents a repository that can cancel an that is in progress
Cancel
TModel
Guid id
Cancels the specified
Represents an act repository service.
# 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(); } } ```