Пример #1
0
        /// <summary>
        /// 单集列表
        /// </summary>
        /// <param name="id"></param>
        protected void Drama(int id)
        {
            DataEntities ent = new DataEntities();
            MovieDrama   d   = (from l in ent.MovieDrama where l.id == id select l).FirstOrDefault();

            ent.Dispose();
            Response.Clear();
            Response.Write(CreateDramapage(d, d.GetClass()));
        }
Пример #2
0
        /// <summary>
        /// 生成搜索剧集
        /// </summary>
        /// <param name="id"></param>
        protected void CreateDramaPage(long id)
        {
            DataEntities ent = new DataEntities();
            MovieDrama   d   = (from l in ent.MovieDrama where l.id == id select l).FirstOrDefault();

            if (d.id > 0)
            {
                Class c = d.GetClass();
                Voodoo.Basement.CreatePage.CreateDramapage(d, c);
                Response.Write(string.Format("《{0}》-剧集列表《{1}》完成", d.MovieTitle, d.Title));
            }
            ent.Dispose();
        }