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