Esempio n. 1
0
        /// <summary>
        /// 添加SEO维护 log
        /// </summary>
        /// <param name="item"></param>
        public void CreateCategoryMetadataLog(CategoryMetadataLog item)
        {
            DataCommand dc = DataCommandManager.GetDataCommand("SEO_InsertSEOMetadataLog");

            dc.SetParameterValue <CategoryMetadataLog>(item);
            dc.ExecuteNonQuery();
        }
Esempio n. 2
0
        /// <summary>
        /// 创建SEO的日志
        /// </summary>
        /// <param name="item"></param>
        public virtual void CreateCategoryMetadataLog(SEOItem item)
        {
            CategoryMetadataLog log = new CategoryMetadataLog();

            log.CompanyCode = item.CompanyCode;
            log.Operation   = "Create";
            log.Description = item.PageDescription.Content;
            log.CategoryMetadataInfoSysNo = item.SysNo;
            seoDA.CreateCategoryMetadataLog(log);
        }