Backend of DumbYT, a small c# web api. http://dumbyt.hak8or.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
455 B

using Microsoft.EntityFrameworkCore;
namespace YTManager
{
public class MediaDB : DbContext
{
public DbSet<Models.Channel> Channels { get; set; }
public DbSet<Models.Video> Videos { get; set; }
public MediaDB(DbContextOptions<MediaDB> options) : base(options){ }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {
base.OnConfiguring(optionsBuilder);
}
}
}