Files
annotations/Azaion.Common/Database/AnnotationsDb.cs
T
Alex Bezdieniezhnykh 48c9ccbfda add db WIP 2, 80%
refactor, renames
2024-12-24 06:07:13 +02:00

12 lines
418 B
C#

using Azaion.Common.DTO;
using LinqToDB;
using LinqToDB.Data;
namespace Azaion.Common.Database;
public class AnnotationsDb(DataOptions dataOptions) : DataConnection(dataOptions)
{
public ITable<Annotation> Annotations => this.GetTable<Annotation>();
public ITable<AnnotationName> AnnotationsQueue => this.GetTable<AnnotationName>();
public ITable<Detection> Detections => this.GetTable<Detection>();
}