/[H6]/DatabaseLayer.cpp
ViewVC logotype

Diff of /DatabaseLayer.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by torben, Sun Sep 3 09:14:24 2006 UTC revision 31 by torben, Sun Sep 3 10:10:19 2006 UTC
# Line 1  Line 1 
1    /*
2     * Primary developers: Hedin & Kevin
3     */
4    
5  #include "StdAfx.h"  #include "StdAfx.h"
6  #include ".\databaselayer.h"  #include ".\databaselayer.h"
# Line 351  void DatabaseLayer::FillEquipmentVector( Line 353  void DatabaseLayer::FillEquipmentVector(
353                  }                  }
354          }          }
355  }  }
356    //Developed by Torben H. Nielsen
357  void DatabaseLayer::checkReservations(CString barcode)  void DatabaseLayer::checkReservations(CString barcode)
358  {  {
359          CString scount,status;          CString scount,status;
# Line 378  void DatabaseLayer::checkReservations(CS Line 380  void DatabaseLayer::checkReservations(CS
380          }          }
381  }  }
382    
383    //Developed by Torben H. Nielsen
384  bool DatabaseLayer::DeleteReservation(CString barcode, CString resid)  bool DatabaseLayer::DeleteReservation(CString barcode, CString resid)
385  {  {
386          CString SQL = "DELETE FROM Resevation WHERE resevationid = " + resid;          CString SQL = "DELETE FROM Resevation WHERE resevationid = " + resid;

Legend:
Removed from v.30  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.20