14 lines
343 B
C#
14 lines
343 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using AcaMate.V1.Models;
|
|
using Version = AcaMate.V1.Models.Version;
|
|
|
|
namespace AcaMate.Common.Data;
|
|
//database=AcaMate;
|
|
public class AppDbContext: DbContext
|
|
{
|
|
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
|
|
{
|
|
}
|
|
|
|
public DbSet<Version> Versions { get; set; }
|
|
} |