{"action":"created","issue":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/1460","repository_url":"https://api.github.com/repos/volkanceylan/Serenity","labels_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/1460/labels{/name}","comments_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/1460/comments","events_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/1460/events","html_url":"https://github.com/volkanceylan/Serenity/issues/1460","id":189971815,"number":1460,"title":"How to use one transaction for changes on multiple entities","user":{"login":"allema","id":1392746,"avatar_url":"https://avatars.githubusercontent.com/u/1392746?v=3","gravatar_id":"","url":"https://api.github.com/users/allema","html_url":"https://github.com/allema","followers_url":"https://api.github.com/users/allema/followers","following_url":"https://api.github.com/users/allema/following{/other_user}","gists_url":"https://api.github.com/users/allema/gists{/gist_id}","starred_url":"https://api.github.com/users/allema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allema/subscriptions","organizations_url":"https://api.github.com/users/allema/orgs","repos_url":"https://api.github.com/users/allema/repos","events_url":"https://api.github.com/users/allema/events{/privacy}","received_events_url":"https://api.github.com/users/allema/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-17T08:15:50Z","updated_at":"2016-11-17T08:43:20Z","closed_at":null,"body":"I'm trying to figure out the best way to bundle changes on multiple entities into one transaction. \r\n\r\nExample: A user creates a new Customer. This should begin a transaction on SQL server and save the customer (transaction still open). Then the user creates an Order which will be saved in the same transaction.\r\n\r\nWhen the user is done editing everything, he clicks Commit to end the transaction (save Customer and Order) or Discard to rollback (Customer and Order won't be saved).\r\n\r\nAny hints on how to implement this scenario?"},"comment":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/comments/261187986","html_url":"https://github.com/volkanceylan/Serenity/issues/1460#issuecomment-261187986","issue_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/1460","id":261187986,"user":{"login":"volkanceylan","id":752470,"avatar_url":"https://avatars.githubusercontent.com/u/752470?v=3","gravatar_id":"","url":"https://api.github.com/users/volkanceylan","html_url":"https://github.com/volkanceylan","followers_url":"https://api.github.com/users/volkanceylan/followers","following_url":"https://api.github.com/users/volkanceylan/following{/other_user}","gists_url":"https://api.github.com/users/volkanceylan/gists{/gist_id}","starred_url":"https://api.github.com/users/volkanceylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volkanceylan/subscriptions","organizations_url":"https://api.github.com/users/volkanceylan/orgs","repos_url":"https://api.github.com/users/volkanceylan/repos","events_url":"https://api.github.com/users/volkanceylan/events{/privacy}","received_events_url":"https://api.github.com/users/volkanceylan/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T08:43:20Z","updated_at":"2016-11-17T08:43:20Z","body":"If you worry about other users seeing changes, then add a approved, in progress etc. field, and filter records."}}
{"actor":{"display_login":"volkanceylan"}}