{"author_url":"https://blog.hatena.ne.jp/bookreadkun/","author_name":"bookreadkun","version":"1.0","url":"https://oooomincrypto.hatenadiary.jp/entry/2022/04/24/201001","blog_url":"https://oooomincrypto.hatenadiary.jp/","image_url":null,"description":"\u306f\u3058\u3081\u306b \u73fe\u5728\u5e38\u99d0\u3057\u3066\u3044\u308b\u304a\u5ba2\u69d8\u5148\u306e\u4e0a\u53f8\u3068\u304a\u8a71\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001EFCore(Entity Framework Core)\u306eDetectChanges\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u51fa\u3066\u304d\u3066\u4f55\u3060\u305d\u308c\u306f\uff01\uff01\uff1f\u3068\u3044\u3046\u72b6\u614b\u306b\u306a\u3063\u305f\u306e\u3067\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002 ChangeTracker.AutoDetectChangesEnabled\u30d7\u30ed\u30d1\u30c6\u30a3 EFCore\u3067\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u66f4\u65b0\u51e6\u7406\uff08Add, Update, Delete\uff09\u304c\u3042\u3063\u305f\u969b\u306bDetectChanges()\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u308b\u6574\u5408\u6027\u30c1\u30a7\u30c3\u30af\uff08MS\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u5909\u66f4\u306e\u8ffd\u8de1\u3068\u3044\u3046\u8aac\u660e\u304c\u3055\u308c\u3066\u3044\u307e\u3059\uff09\u304c\u884c\u308f\u308c\u307e\u3059\u3002 \u3053\u3053\u3089\u8fba\u306f\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306e\u8aac\u660e\u304c\u3068\u3066\u3082\u5206\u304b\u308a\u3084\u3059\u304b\u3063\u305f\u3067\u3059\u2026","provider_name":"Hatena Blog","published":"2022-04-24 20:10:01","height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foooomincrypto.hatenadiary.jp%2Fentry%2F2022%2F04%2F24%2F201001\" title=\"EFCore\u306eDetectChanges\u3092\u7121\u52b9\u306b\u3057\u305f\u3089\u3069\u308c\u304f\u3089\u3044Insert\u304c\u901f\u304f\u306a\u308b\u306e\u304b\uff1f - \u304a\u30fc\u307f\u3093\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u304a\u30fc\u307f\u3093\u30d6\u30ed\u30b0","type":"rich","width":"100%","categories":["C#"],"title":"EFCore\u306eDetectChanges\u3092\u7121\u52b9\u306b\u3057\u305f\u3089\u3069\u308c\u304f\u3089\u3044Insert\u304c\u901f\u304f\u306a\u308b\u306e\u304b\uff1f"}