Files
annotations/Web/Azaion.Web/Azaion.Repository/AzaionDbSql.cs
T
2024-07-16 14:18:55 +03:00

12 lines
377 B
C#

using Azaion.Repository.Entities;
using LinqToDB;
using LinqToDB.Data;
namespace Azaion.Repository;
public class AzaionDbSql(DataOptions dataOptions) : DataConnection(dataOptions)
{
public ITable<Media> Medias => this.GetTable<Media>();
public ITable<User> Users => this.GetTable<User>();
public ITable<Annotation> Annotations => this.GetTable<Annotation>();
}