mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:16:30 +00:00
12 lines
439 B
C#
12 lines
439 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<AnnotationQueueRecord> AnnotationsQueueRecords => this.GetTable<AnnotationQueueRecord>();
|
|
public ITable<Detection> Detections => this.GetTable<Detection>();
|
|
} |