11 lines
683 B
C#
11 lines
683 B
C#
using Persistence.Models;
|
|
|
|
namespace Persistence.Repositories;
|
|
public interface ITimestampedSetRepository
|
|
{
|
|
Task<int> Count(Guid idDiscriminator, CancellationToken token);
|
|
Task<IEnumerable<TimestampedSetDto>> Get(Guid idDiscriminator, DateTimeOffset? geTimestamp, IEnumerable<string>? props, int skip, int take, CancellationToken token);
|
|
Task<DatesRangeDto?> GetDatesRange(Guid idDiscriminator, CancellationToken token);
|
|
Task<IEnumerable<TimestampedSetDto>> GetLast(Guid idDiscriminator, IEnumerable<string>? props, int take, CancellationToken token);
|
|
Task<int> InsertRange(Guid idDiscriminator, IEnumerable<TimestampedSetDto> sets, CancellationToken token);
|
|
} |