using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Model.Models.VitrosModels;
using System;
using System.Collections.Generic;
using System.Text;

namespace VitrosConsole.Persistence
{
    public class ApplicationDbContext : DbContext
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) 
            : base(options)
        {
        }

        public DbSet<Sample> Samples { get; set; }
        public DbSet<Result> Results { get; set; }
        //protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        //{
        //    optionsBuilder.UseSqlServer(_configuration.GetConnectionString("DefaultConnection"));
        //}
    }
}
