{"height":"190","url":"https://sixpetals.hatenadiary.org/entry/20140127/p1","blog_url":"https://sixpetals.hatenadiary.org/","title":"EntityFramework\u304b\u3089\u547c\u3093\u3060\u30b9\u30c8\u30a2\u30c9\u306ePRINT\u6587\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b","categories":[".NET","SQL Server","EntityFramework"],"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"\u72c2\u8a00\u65e5\u8a8c","width":"100%","image_url":null,"published":"2014-01-27 00:00:00","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsixpetals.hatenadiary.org%2Fentry%2F20140127%2Fp1\" title=\"EntityFramework\u304b\u3089\u547c\u3093\u3060\u30b9\u30c8\u30a2\u30c9\u306ePRINT\u6587\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b - \u72c2\u8a00\u65e5\u8a8c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_url":"https://blog.hatena.ne.jp/sixpetals/","author_name":"sixpetals","description":"\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304cctx\u3060\u3068\u3059\u308b\u3068\u3053\u3093\u306a\u306e\u3067\u53d7\u3051\u53d6\u308c\u308b\u3002 var entityConnection = (EntityConnection)ctx.Connection; var sqlConnection = (SqlConnection)entityConnection.StoreConnection; sqlConnection.InfoMessage += (s, a) => Console.WriteLine(a.Message); \u3075\u3080\u3002SQL Server\u3067\u3084\u3063\u3066\u308b\u306e\u3067\u4ed6\u306eDB\u306f\u3057\u308a\u307e\u305b\u3093\u3002"}