1 |
|
/* |
2 |
|
* Primary developers: Hedin & Kevin |
3 |
|
*/ |
4 |
|
|
5 |
#include "StdAfx.h" |
#include "StdAfx.h" |
6 |
#include ".\databaselayer.h" |
#include ".\databaselayer.h" |
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; |
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; |