Files
YouTubeViewers/YouTubeViewers.EntityFramework/YouTubeViewersDbContext.cs
2022-08-22 15:56:12 +02:00

25 lines
603 B
C#

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTubeViewers.EntityFramework.DTOs;
namespace YouTubeViewers.EntityFramework
{
public class YouTubeViewersDbContext : DbContext
{
public YouTubeViewersDbContext(DbContextOptions options) : base(options) { }
public DbSet<YouTubeViewerDto> YouTubeViewers { get; set; }
//DbContextOptions options = new DbContextOptionsBuilder()
// .UseSqlite(_connectionString)
// .Options;
}
}