25 lines
603 B
C#
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;
|
|
|
|
|
|
}
|
|
|
|
}
|