{"action":"opened","issue":{"url":"https://api.github.com/repos/codecoding/SQLite4Unity3d/issues/46","repository_url":"https://api.github.com/repos/codecoding/SQLite4Unity3d","labels_url":"https://api.github.com/repos/codecoding/SQLite4Unity3d/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/codecoding/SQLite4Unity3d/issues/46/comments","events_url":"https://api.github.com/repos/codecoding/SQLite4Unity3d/issues/46/events","html_url":"https://github.com/codecoding/SQLite4Unity3d/issues/46","id":168164019,"number":46,"title":"How I update a specific item","user":{"login":"dareyko","id":9707423,"avatar_url":"https://avatars.githubusercontent.com/u/9707423?v=3","gravatar_id":"","url":"https://api.github.com/users/dareyko","html_url":"https://github.com/dareyko","followers_url":"https://api.github.com/users/dareyko/followers","following_url":"https://api.github.com/users/dareyko/following{/other_user}","gists_url":"https://api.github.com/users/dareyko/gists{/gist_id}","starred_url":"https://api.github.com/users/dareyko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dareyko/subscriptions","organizations_url":"https://api.github.com/users/dareyko/orgs","repos_url":"https://api.github.com/users/dareyko/repos","events_url":"https://api.github.com/users/dareyko/events{/privacy}","received_events_url":"https://api.github.com/users/dareyko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-28T18:27:27Z","updated_at":"2016-07-28T18:27:27Z","closed_at":null,"body":"Hi\r\nSo I have a table name \"situacion\" and have this columns \r\n\r\n```\r\npublic int situacionID { get; set; }\r\n\tpublic string historia { get; set; }\r\n\tpublic string emocion { get; set; }\r\n\tpublic bool tarjeta { get; set; }``\r\n```\r\n\r\nI want to update \"tarjeta\" from false to true using \"situacionID\" as the reference,  something like this: UPDATE situacion SET tarjeta = true  WHERE situacionID = 6;\r\n\r\nI make this in the DataServise archive, but I dont know how to put the condition to \"situacionID\"\r\n\r\n```\r\npublic situacion update_tarjeta(){\r\n\t\tvar p = new situacion{\r\n\t\t\ttarjeta = true,\r\n\t\t};\r\n\t\t_connection.Update (p);\r\n\t\treturn p;\r\n```\r\nEnglish it not my first language so I hope you understadn my crappy english. "}}
{"actor":{"display_login":"dareyko"}}