using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using MySql.Data; using MySql.Data.EntityFrameworkCore.Extensions; using MySql.Data.MySqlClient; using Icarus.Models; namespace Icarus.Models.Context { public class SongContext : DbContext { public DbSet Songs { get; set; } protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity(); } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseMySQL("server=;database=;user=;password="); } } }