System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation

Artifact fc6494b74f798dcf78e13f0a5b3d914a25972735:

Ticket change [fc6494b74f] - New ticket [9540461a6c] Creating a changeset is not working. by anonymous 2018-08-07 13:31:03.
D 2018-08-07T13:31:03.888
J foundin 1.0.108
J icomment I'm\scurrently\swriting\son\smy\sbachelor\sthesis\sand\swanted\sto\suse\sthe\ssession\sextension\sin\s.NET\sto\strack\schanges\smade\son\sthe\sdatabase.\sI\swrote\sthis\scode\sto\sgenerate\sa\schangeset\s(the\sdocumentation\son\sthis\sfor\s.NET\sis\squite\spoor):\r\n\r\nvar\sconnection\s=\snew\sSQLiteConnection("Data\sSource=test.sqlite");\r\nconnection.Open();\r\nvar\ssession\s=\sconnection.CreateSession("main");\r\nsession.AttachTable("Test");\r\nconnection.ExecuteSqlCommand("INSERT\sINTO\sTest\s(Id,\sDescription)\sVALUES\s(?,\s?)",\s0,\s"testbeschreibung");\s//my\sextension\smethod\swhich\screates\sa\sSQLiteCommand\swith\sParameters\sand\sexecutes\sit\r\nbyte[]\srawChanges\s=\snew\sbyte[0];\r\nsession.CreateChangeSet(ref\srawChanges);\r\n\r\nThe\sdatabase\sconsists\sonly\sof\sthe\stable\s"Test"\swith\scolumns\s"Id"\s(int,\sPrimary\sKey)\sand\s"Description"\s(text).\sThe\sdata\sinsertion\sis\sworking\sfine,\sbut\srawChanges\sdoes\snot\scontain\sanything.\sI\salso\stried\s.CreateChangeSet()\swith\sa\sstream\sinstead\sof\sa\sbyte\sarray,\sbut\sit\sdid\snot\schange\sanything.\sAm\sI\smissing\san\simportant\sstep\sor\sis\sit\sjust\snot\sworking?\r\n\r\nThanks\sin\sadvance,\r\nPatrick\sSeiter
J login anonymous
J mimetype text/x-fossil-plain
J private_contact 3743753d6b27d6ae21152589c8f6ca74f28b4b62
J severity Important
J status Open
J title Creating\sa\schangeset\sis\snot\sworking
J type Incident
K 9540461a6c0da6fb0d86df4685b66c2f1ce1c187
U anonymous
Z 26cf24908768709800a5ecccc624de93