ZenithInfo/Data/ZenithInfoContext.cs

20 lines
457 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using ZenithInfo.Models;
namespace ZenithInfo.Data
{
public class ZenithInfoContext : DbContext
{
public ZenithInfoContext (DbContextOptions<ZenithInfoContext> options)
: base(options)
{
}
public DbSet<ZenithInfo.Models.Turret> Turret { get; set; } = default!;
}
}