Files
SkydiveLogs/Back/skydiveLogs-api.Infrastructure/Interfaces/IDataProvider.cs
sandre b25e947d62 Split tables for the stats (#6)
Reviewed-on: #6
Co-authored-by: sandre <perso@sebastienandre.com>
Co-committed-by: sandre <perso@sebastienandre.com>
2026-01-26 13:38:07 +00:00

59 lines
1.6 KiB
C#

using LiteDB;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Infrastructure.Interfaces
{
public interface IDataProvider
{
#region Public Methods
void Close();
ILiteCollection<T> GetCollection<T>();
#endregion Public Methods
#region Public Properties
ILiteCollection<Aircraft> CollOfAircraft { get; }
ILiteCollection<DropZone> CollOfDropZone { get; }
ILiteCollection<FavoriteDropZone> CollOfFavoriteDropZone { get; }
ILiteCollection<Gear> CollOfGear { get; }
ILiteCollection<UserImage> CollOfImage { get; }
ILiteCollection<Jump> CollOfJump { get; }
ILiteCollection<JumpType> CollOfJumpType { get; }
ILiteCollection<User> CollOfUser { get; }
ILiteCollection<TunnelFlight> CollOfTunnelFlight { get; }
ILiteCollection<StatsByAircraft> CollOfStatsByAircraft { get; }
ILiteCollection<StatsByDz> CollOfStatsByDz { get; }
ILiteCollection<StatsByGear> CollOfStatsByGear { get; }
ILiteCollection<StatsByJumpType> CollOfStatsByJumpType { get; }
ILiteCollection<StatsByYear> CollOfStatsByYear { get; }
ILiteCollection<StatsForLastMonthByDz> CollOfStatsForLastMonthByDz { get; }
ILiteCollection<StatsForLastMonthByJumpType> CollOfStatsForLastMonthByJumpType { get; }
ILiteCollection<StatsForLastYearByDz> CollOfStatsForLastYearByDz { get; }
ILiteCollection<StatsForLastYearByJumpType> CollOfStatsForLastYearByJumpType { get; }
ILiteCollection<StatsByYearByJumpType> CollOfStatsByYearByJumpType { get; }
#endregion Public Properties
}
}