mirror of
https://github.com/azaion/flights.git
synced 2026-04-23 06:16:32 +00:00
0625cd4157
Made-with: Cursor
19 lines
825 B
C#
19 lines
825 B
C#
using LinqToDB;
|
|
using LinqToDB.Data;
|
|
using Azaion.Flights.Database.Entities;
|
|
|
|
namespace Azaion.Flights.Database;
|
|
|
|
public class AppDataConnection(DataOptions options) : DataConnection(options)
|
|
{
|
|
public ITable<Aircraft> Aircrafts => this.GetTable<Aircraft>();
|
|
public ITable<Flight> Flights => this.GetTable<Flight>();
|
|
public ITable<Waypoint> Waypoints => this.GetTable<Waypoint>();
|
|
public ITable<Orthophoto> Orthophotos => this.GetTable<Orthophoto>();
|
|
public ITable<GpsCorrection> GpsCorrections => this.GetTable<GpsCorrection>();
|
|
public ITable<MapObject> MapObjects => this.GetTable<MapObject>();
|
|
public ITable<Media> Media => this.GetTable<Media>();
|
|
public ITable<Annotation> Annotations => this.GetTable<Annotation>();
|
|
public ITable<Detection> Detections => this.GetTable<Detection>();
|
|
}
|