{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2621","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2621/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2621/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2621/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2621","id":267402548,"number":2621,"title":"Non transaction step inside unit of work","user":{"login":"sebitsi","id":2194876,"avatar_url":"https://avatars2.githubusercontent.com/u/2194876?v=4","gravatar_id":"","url":"https://api.github.com/users/sebitsi","html_url":"https://github.com/sebitsi","followers_url":"https://api.github.com/users/sebitsi/followers","following_url":"https://api.github.com/users/sebitsi/following{/other_user}","gists_url":"https://api.github.com/users/sebitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/sebitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebitsi/subscriptions","organizations_url":"https://api.github.com/users/sebitsi/orgs","repos_url":"https://api.github.com/users/sebitsi/repos","events_url":"https://api.github.com/users/sebitsi/events{/privacy}","received_events_url":"https://api.github.com/users/sebitsi/received_events","type":"User","site_admin":false},"labels":[{"id":52597639,"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/labels/question","name":"question","color":"bbbbbb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-21T18:19:02Z","updated_at":"2017-10-25T11:33:39Z","closed_at":"2017-10-23T10:40:12Z","author_association":"NONE","body":"Hi.\r\n\r\nIs it possible to implement non transaction step inside uow ?\r\n\r\nLet say we have ApplicationService's method like that:\r\n\r\n- load some data from DB\r\n- create XML request for calling SOAP service\r\n- log that XML request to DB\r\n- execute call to SOAP service with in 2nd step generated XML\r\n- log response from SOAP service to DB\r\n- Set some status to DB\r\nSteps 1, 4 and 6 should be transactional. Steps 3 and 5 not.\r\nLogging must be always stored to DB (outside transaction).\r\n\r\nHow can i do this ? \r\nDo i need separate connection to DB to solve this ?\r\nIf so, how ?\r\n\r\nThanks for any suggestion\r\n"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/339300617","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2621#issuecomment-339300617","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2621","id":339300617,"user":{"login":"acjh","id":14091939,"avatar_url":"https://avatars0.githubusercontent.com/u/14091939?v=4","gravatar_id":"","url":"https://api.github.com/users/acjh","html_url":"https://github.com/acjh","followers_url":"https://api.github.com/users/acjh/followers","following_url":"https://api.github.com/users/acjh/following{/other_user}","gists_url":"https://api.github.com/users/acjh/gists{/gist_id}","starred_url":"https://api.github.com/users/acjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acjh/subscriptions","organizations_url":"https://api.github.com/users/acjh/orgs","repos_url":"https://api.github.com/users/acjh/repos","events_url":"https://api.github.com/users/acjh/events{/privacy}","received_events_url":"https://api.github.com/users/acjh/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T11:33:39Z","updated_at":"2017-10-25T11:33:39Z","author_association":"CONTRIBUTOR","body":"> TransactionScopeOption is only valid if IsTransactional = true.\r\n\r\nBut `IsTransactional = false` + `RequiresNew` works and is used in `AbpUserStore` here:\r\n\r\nhttps://github.com/aspnetboilerplate/aspnetboilerplate/blob/c7cc393844b95b8dab3f73b48229c7c6583c7f87/src/Abp.ZeroCore/Authorization/Users/AbpUserStore.cs#L1227-L1228"}}
{"actor":{"display_login":"acjh"}}