public override int InsertAtDB(bool dbconOpened, string tableName) { return SqliteJump.Insert(dbconOpened, tableName, uniqueID.ToString(), personID, sessionID, type, tv, tc, fall, weight, description, angle, simulated); }
public int UploadJump(Jump myTest) { //store event uniqueID int temp = myTest.UniqueID; //change value for being inserted with new numeration in server myTest.UniqueID = -1; //insert int id = myTest.InsertAtDB(false, Constants.JumpTable); //roll back person unique id value myTest.UniqueID = temp; return(id); //uniqueID of person at server }