--- a/inc/mdssqliteconnection.h Tue Feb 02 00:24:33 2010 +0200
+++ b/inc/mdssqliteconnection.h Fri Mar 19 09:38:01 2010 +0200
@@ -76,6 +76,16 @@
*/
void ConstructL();
+ /**
+ * Delete and re-create database.
+ * @param aDbFileName Database filename and path
+ * @param asqlSecurityPolicy sql policy
+ * @param aKMdsSqlDbaConfig database connection configure
+ */
+ TInt DeleteAndReCreateDB( const HBufC* aDbFileName,
+ const RSqlSecurityPolicy& asqlSecurityPolicy,
+ const TDesC8* aKMdsSqlDbaConfig );
+
public: // Methods from CMdSSqLiteConnection
/**
@@ -130,6 +140,11 @@
void CurrentRowL( const RMdsStatement& aQuery, RRowData& aRow );
/**
+ * Returns id of the last inserted row
+ */
+ TItemId LastInsertedRowId();
+
+ /**
* terminates a running query or execution loop
* @param aStatement ID of the statement
*/