static void Main(string[] args)
        {
            MContext db = new MContext();

            Manga manga = new Manga();
            manga.Date = DateTime.Now;

            db.Mangas.Add(manga);
            db.SaveChanges();

            Console.WriteLine("date: " + manga.Date);
            Console.ReadLine();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            MContext db = new MContext();

            Manga manga = new Manga();

            manga.Date = DateTime.Now;

            db.Mangas.Add(manga);
            db.SaveChanges();

            Console.WriteLine("date: " + manga.Date);
            Console.ReadLine();
        }