示例#1
0
文件: Program.cs 项目: john1932/Mydb
        static void Main(string[] args)
        {
            var video = new MydbEntities();

            video.AddVideo("First Video", DateTime.Now, "Romance");
            video.spAddVideo("second video", DateTime.Today, "Romance");
            video.spAddVideo("second video", DateTime.Today, "Romance");
            video.spAddVideo("second video", DateTime.Today, "Action");
            video.spAddVideo("second video", DateTime.Today, "Romance");
            video.spAddVideo("second video", DateTime.Today, "Action");
        }
示例#2
0
        static void Main(string[] args)
        {
            var video = new MydbEntities();

            video.AddVideo("First Video", DateTime.Now, "Romance");
            video.AddVideo("First Video", DateTime.Now, "Romance");
            video.AddVideo("First Video", DateTime.Now, "Romance");
            video.AddVideo("First Video", DateTime.Now, "Romance");
            video.AddVideo("First Video", DateTime.Now, "Romance");
            video.AddVideo("First Video", DateTime.Now, "Romance");
        }