public bool Add(M_KeyWord model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
public bool Update(M_KeyWord model) { return(Sql.UpdateByIDs(TbName, PK, model.KeyWordID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
public int insert(M_KeyWord model) { return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }