mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:06:30 +00:00
d02550f5a0
3 queues -> 1 queue send delete validate updates
13 lines
516 B
C#
13 lines
516 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>();
|
|
public ITable<QueueOffset> QueueOffsets => this.GetTable<QueueOffset>();
|
|
} |