Esempio n. 1
0
        static void Main(string[] args)
        {
            var context = new VidzyDbContext();


            context.AddVideo("Hunger Games", DateTime.Now, "Action", 1);
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var   context = new VidzyDbContext();
            Video video   = new Video();

            video.Name = "";

            context.AddVideo("Race 2", DateTime.Now, "Action", 3);
        }
        static void Main(string[] args)
        {
            var context = new VidzyDbContext();

            context.AddVideo("Hunger Games", DateTime.Now, "Action",  1);
        }