Interface IDiagnosisArchiveRepository
- Namespace
- adas_core.Application.Repositories.Interfaces
- Assembly
- adas-core.Application.dll
public interface IDiagnosisArchiveRepository
- Extension Methods
Methods
DeleteBeforeDate(DateTime)
Asynchronously deletes items that occurred before the specified cutoff date.
Task DeleteBeforeDate(DateTime date)
Parameters
dateDateTimeThe cutoff date; items dated prior to this value will be deleted.
Returns
InsertBatch(IEnumerable<PatientDiagnosis>)
Inserts a batch of patient diagnosis records into the data store.
Task<long> InsertBatch(IEnumerable<PatientDiagnosis> diagnosis)
Parameters
diagnosisIEnumerable<PatientDiagnosis>The collection of PatientDiagnosis entities to insert.
Returns
- Task<long>
A Task<TResult> representing the asynchronous operation, containing the result of the batch insertion.
InsertOneAsync(PatientDiagnosis)
Asynchronously inserts a new patient diagnosis record into the data store.
Task InsertOneAsync(PatientDiagnosis patientDiagnosis)
Parameters
patientDiagnosisPatientDiagnosisThe patient diagnosis entity to be persisted.
Returns
- Task
A task that represents the asynchronous insert operation.