From 3046b5c41ab51ab5ee9b5136a7f1deeefda4d5b3 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 28 Jul 2006 12:39:48 +0000 Subject: correcting directory name --- .../protected/App_Data/SQLite/category.xml | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 demos/time-tracker/protected/App_Data/SQLite/category.xml (limited to 'demos/time-tracker/protected/App_Data/SQLite/category.xml') diff --git a/demos/time-tracker/protected/App_Data/SQLite/category.xml b/demos/time-tracker/protected/App_Data/SQLite/category.xml new file mode 100644 index 00000000..d89a517f --- /dev/null +++ b/demos/time-tracker/protected/App_Data/SQLite/category.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + INSERT INTO categories + (Name, ProjectID, Abbreviation, EstimateDuration) + VALUES(#Name#, #ProjectID#, #Abbreviation#, #EstimateDuration#) + + select LAST_INSERT_ROWID() as value + + + + + + + + + DELETE FROM categories WHERE CategoryID = #value# + + + + + + + + UPDATE categories SET + Abbreviation = #Abbreviation#, + EstimateDuration = #EstimateDuration#, + Name = #Name#, + ProjectId = #ProjectID# + WHERE + CategoryID = #ID# + + + \ No newline at end of file -- cgit v1.2.3