[chronojump/michrolab] Create jumpRj type sets also the UniqueID



commit 3260d5caf068adc106c7892aa0ce8e7ecb407395
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Aug 25 12:09:43 2022 +0200

    Create jumpRj type sets also the UniqueID

 src/sqlite/jumpType.cs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/sqlite/jumpType.cs b/src/sqlite/jumpType.cs
index 802fef3a6..ccdcbcd1e 100644
--- a/src/sqlite/jumpType.cs
+++ b/src/sqlite/jumpType.cs
@@ -536,6 +536,7 @@ class SqliteJumpType : Sqlite
                JumpType myJumpType = new JumpType();
                
                while(reader.Read()) {
+                       myJumpType.UniqueID = Convert.ToInt32(reader[0].ToString());
                        myJumpType.Name = reader[1].ToString();
                        
                        if(reader[2].ToString() == "1") { myJumpType.StartIn = true; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]