示例#1
0
 /// <summary>
 ///更新记录
 /// </summary>
 /// <param name="RoomActiveJoin"></param>
 /// <returns></returns>
 public bool GetUpdate(M_RoomActiveJoin model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }
示例#2
0
 /// <summary>
 ///添加记录
 /// </summary>
 /// <param name="RoomActiveJoin"></param>
 /// <returns></returns>
 public bool GetInsert(M_RoomActiveJoin model)
 {
     return(Sql.insertID(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0);
 }