mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:46:30 +00:00
add repository with mysql and entities
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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>();
|
||||
}
|
||||
Reference in New Issue
Block a user