{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3546","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3546/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3546/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3546/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3546","id":335637424,"node_id":"MDU6SXNzdWUzMzU2Mzc0MjQ=","number":3546,"title":"how to in Application layer GetDbContext","user":{"login":"apchenjun","id":4964551,"node_id":"MDQ6VXNlcjQ5NjQ1NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4964551?v=4","gravatar_id":"","url":"https://api.github.com/users/apchenjun","html_url":"https://github.com/apchenjun","followers_url":"https://api.github.com/users/apchenjun/followers","following_url":"https://api.github.com/users/apchenjun/following{/other_user}","gists_url":"https://api.github.com/users/apchenjun/gists{/gist_id}","starred_url":"https://api.github.com/users/apchenjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apchenjun/subscriptions","organizations_url":"https://api.github.com/users/apchenjun/orgs","repos_url":"https://api.github.com/users/apchenjun/repos","events_url":"https://api.github.com/users/apchenjun/events{/privacy}","received_events_url":"https://api.github.com/users/apchenjun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-26T02:43:18Z","updated_at":"2018-06-26T05:01:43Z","closed_at":null,"author_association":"NONE","body":"i want to in Application layer xxxServices.cs very convenient\r\nuse _xxxRepository.GetDbContext().Set<XXXEntity>().FromSql Execute SQL\r\nor _xxxRepository.GetDbContext().Set<XXXEntity>() excute bulkupdate bulkdelete\r\nby [EntityFramework-Plus](https://github.com/zzzprojects/EntityFramework-Plus)\r\nhow to coding\r\nthis is project code\r\nxxxServices.cs\r\nprivate readonly IRepository<Declaration, int> _declarationRepository;\r\n\r\n        public DeclarationAppService(\r\n            IRepository<Declaration, int> declarationRepository\r\n            )\r\n        {\r\n            _declarationRepository = declarationRepository;\r\n        }"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/400179192","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3546#issuecomment-400179192","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3546","id":400179192,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDE3OTE5Mg==","user":{"login":"maliming","id":6908465,"node_id":"MDQ6VXNlcjY5MDg0NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6908465?v=4","gravatar_id":"","url":"https://api.github.com/users/maliming","html_url":"https://github.com/maliming","followers_url":"https://api.github.com/users/maliming/followers","following_url":"https://api.github.com/users/maliming/following{/other_user}","gists_url":"https://api.github.com/users/maliming/gists{/gist_id}","starred_url":"https://api.github.com/users/maliming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maliming/subscriptions","organizations_url":"https://api.github.com/users/maliming/orgs","repos_url":"https://api.github.com/users/maliming/repos","events_url":"https://api.github.com/users/maliming/events{/privacy}","received_events_url":"https://api.github.com/users/maliming/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T05:01:43Z","updated_at":"2018-06-26T05:01:43Z","author_association":"CONTRIBUTOR","body":"如果已经解决,请关闭问题. 😄"}}
{"actor":{"display_login":"maliming"}}