Пример #1
0
 public bool Add(M_KeyWord model)
 {
     return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0);
 }
Пример #2
0
 public bool Update(M_KeyWord model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.KeyWordID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Пример #3
0
 public int insert(M_KeyWord model)
 {
     return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }