public string GetUrl(string keyvalue) { if (!string.IsNullOrEmpty(keyvalue)) { return(M_Content_WordChain.GetValue(keyvalue, "href=\"", "\"")); } else { return(""); } }
/// <summary> /// 更新数据 /// </summary> public bool UpdateByID(M_Content_WordChain model) { return(DBCenter.UpdateByID(model, model.ID)); }
/// <summary> /// 插入数据返回新ID /// </summary> public int insert(M_Content_WordChain model) { return(DBCenter.Insert(model)); }
/// <summary> /// 更新数据 /// </summary> public bool UpdateByID(M_Content_WordChain model) { return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
/// <summary> /// 插入数据返回新ID /// </summary> public int insert(M_Content_WordChain model) { return(Sql.insertID(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }