/// <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(); }
/// <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); }