/// <summary>
        ///  更新一条数据
        /// </summary>
        public void Update(MobileSoft.Model.Information.Tb_Information_AboutUs model)
        {
            int rowsAffected;

            SqlParameter[] parameters =
            {
                new SqlParameter("@AboutId",        SqlDbType.BigInt,      8),
                new SqlParameter("@BussId",         SqlDbType.BigInt,      8),
                new SqlParameter("@Title",          SqlDbType.NVarChar,  200),
                new SqlParameter("@AboutPublisher", SqlDbType.NVarChar,  200),
                new SqlParameter("@PubulishDate",   SqlDbType.DateTime),
                new SqlParameter("@AboutContent",   SqlDbType.NVarChar),
                new SqlParameter("@AboutImage",     SqlDbType.NVarChar,  200),
                new SqlParameter("@IsDelete",       SqlDbType.SmallInt, 2)
            };
            parameters[0].Value = model.AboutId;
            parameters[1].Value = model.BussId;
            parameters[2].Value = model.Title;
            parameters[3].Value = model.AboutPublisher;
            parameters[4].Value = model.PubulishDate;
            parameters[5].Value = model.AboutContent;
            parameters[6].Value = model.AboutImage;
            parameters[7].Value = model.IsDelete;

            DbHelperSQL.RunProcedure("Proc_Tb_Information_AboutUs_Update", parameters, out rowsAffected);
        }
        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        public MobileSoft.Model.Information.Tb_Information_AboutUs GetModel(long AboutId)
        {
            SqlParameter[] parameters =
            {
                new SqlParameter("@AboutId", SqlDbType.BigInt)
            };
            parameters[0].Value = AboutId;

            MobileSoft.Model.Information.Tb_Information_AboutUs model = new MobileSoft.Model.Information.Tb_Information_AboutUs();
            DataSet ds = DbHelperSQL.RunProcedure("Proc_Tb_Information_AboutUs_GetModel", parameters, "ds");

            if (ds.Tables[0].Rows.Count > 0)
            {
                if (ds.Tables[0].Rows[0]["AboutId"].ToString() != "")
                {
                    model.AboutId = long.Parse(ds.Tables[0].Rows[0]["AboutId"].ToString());
                }
                if (ds.Tables[0].Rows[0]["BussId"].ToString() != "")
                {
                    model.BussId = long.Parse(ds.Tables[0].Rows[0]["BussId"].ToString());
                }
                model.Title          = ds.Tables[0].Rows[0]["Title"].ToString();
                model.AboutPublisher = ds.Tables[0].Rows[0]["AboutPublisher"].ToString();
                if (ds.Tables[0].Rows[0]["PubulishDate"].ToString() != "")
                {
                    model.PubulishDate = DateTime.Parse(ds.Tables[0].Rows[0]["PubulishDate"].ToString());
                }
                model.AboutContent = ds.Tables[0].Rows[0]["AboutContent"].ToString();
                model.AboutImage   = ds.Tables[0].Rows[0]["AboutImage"].ToString();
                if (ds.Tables[0].Rows[0]["IsDelete"].ToString() != "")
                {
                    model.IsDelete = int.Parse(ds.Tables[0].Rows[0]["IsDelete"].ToString());
                }
                return(model);
            }
            else
            {
                return(null);
            }
        }