Morning Mike, thanks for getting back to me.
I'm running on an HTC TyTn, running Windows Mobile 6.0. The speed on this is 400MHz with 64MB of RAM. I am also on another project that's running on a Socket SOMO 650, which is 600+ MHz and experiences the same speed problems when it comes to saving and loading.
Were your tests were run using the normal VistaDB Build 57? Have you tested using their corrected version that stopped the XML Exception, as per the post of mine that you made a sticky?
I ran this code again:
Code:
1
2 // Generate the upload record
3 TblUploadLog uploadLog = new TblUploadLog();
4 uploadLog.UploadLogId = Guid.NewGuid();
5 uploadLog.DateTimeStamp = DateTime.Now;
6 uploadLog.Success = "0";
7 uploadLog.LogText = string.Empty;
8 uploadLog.DeviceId = string.Empty;
9 uploadLog.Actioned = "0";
10 uploadLog.UserId = SessionManager.Session.UserId;
11
12 DateTime start1 = DateTime.Now;
13 uploadLog.Save();
14 DateTime finish1 = DateTime.Now;
15
16 TblUploadLog uploadLog2 = new TblUploadLog();
17 uploadLog2.UploadLogId = Guid.NewGuid();
18 uploadLog2.DateTimeStamp = DateTime.Now;
19 uploadLog2.Success = "0";
20 uploadLog2.LogText = string.Empty;
21 uploadLog2.DeviceId = string.Empty;
22 uploadLog2.Actioned = "0";
23 uploadLog2.UserId = SessionManager.Session.UserId;
24
25 DateTime start2 = DateTime.Now;
26 uploadLog2.Save();
27 DateTime finish2 = DateTime.Now;
28
Start 1>Finish 1 = 9 Seconds
Start 2>Finish 2 = 8 seconds.
I will try and get around to doing an insert directly in VistaDB to see if it's a VistaDB problem.
Current ES Projects:
iVirtualDocket - Remote engineer tracking and job assignments
HIS - Home insurance scripting system