zhaw-dnet2/Tasks/Lab9/EntityFramework/EFCore/Program.cs

12 lines
270 B
C#

namespace EFCore
{
internal class Program
{
static void Main(string[] args)
{
var db = new BloggingContext();
db.Add(new MealType { Description = "Schockoladenkuchen" });
db.SaveChanges();
}
}
}