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