{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F20090930%2Fcsharp_code_block\" title=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u3092\u53d7\u3051\u53d6\u308b\u30e1\u30bd\u30c3\u30c9\u306f\u4fbf\u5229 - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","image_url":null,"blog_url":"https://tnakamura.hatenablog.com/","categories":["C#"],"width":"100%","version":"1.0","url":"https://tnakamura.hatenablog.com/entry/20090930/csharp_code_block","published":"2009-09-30 00:00:00","provider_name":"Hatena Blog","title":"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u3092\u53d7\u3051\u53d6\u308b\u30e1\u30bd\u30c3\u30c9\u306f\u4fbf\u5229","author_url":"https://blog.hatena.ne.jp/griefworker/","provider_url":"https://hatena.blog","description":"Ruby \u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u304b\u3089\u3001C# \u3067\u3082\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u3092\u53d7\u3051\u53d6\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u591a\u69d8\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 public static class DatabaseHelper { public static bool Transaction(this Database db, Action<Database> block, int retryCount) { bool success = false; for (int i = 0; i <= retryCount; i++) { using(TransactionScope ts = new TransactionScope()) { try {\u2026","height":"190","author_name":"griefworker","blog_title":"present"}