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

13 lines
270 B
C#
Raw Permalink Normal View History

2024-06-06 19:09:24 +00:00
namespace EFCore
{
internal class Program
{
static void Main(string[] args)
{
var db = new BloggingContext();
db.Add(new MealType { Description = "Schockoladenkuchen" });
db.SaveChanges();
}
}
}