Data Archiving Service
Last updated
Was this helpful?
Was this helpful?
/// Example Implementation
using SanteDB.Core.Services;
/// Other usings here
public class MyDataArchiveService : SanteDB.Core.Services.IDataArchiveService {
public String ServiceName => "My own IDataArchiveService service";
/// <summary>
/// Push the specified records to the archive
/// </summary>
public void Archive(Type modelType,Guid[] keysToBeArchived){
throw new System.NotImplementedException();
}
/// <summary>
/// Retrieve a record from the archive by key and type
/// </summary>
public IdentifiedData Retrieve(Type modelType,Guid keyToRetrieve){
throw new System.NotImplementedException();
}
/// <summary>
/// Validates whether the specified key exists in the archive
/// </summary>
public Boolean Exists(Type modelType,Guid keyToCheck){
throw new System.NotImplementedException();
}
/// <summary>
/// Purge the specified object from the archive
/// </summary>
public void Purge(Type modelType,Guid[] keysToBePurged){
throw new System.NotImplementedException();
}
}