{"id":3037,"date":"2012-02-03T12:17:37","date_gmt":"2012-02-03T03:17:37","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/archives\/3037"},"modified":"2012-02-04T08:12:16","modified_gmt":"2012-02-03T23:12:16","slug":"entity-model-model-%e3%81%ae%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%82%ab%e3%83%a9%e3%83%a0%e5%90%8d%e3%82%92%e4%b8%80%e6%8b%ac%e3%81%a7%e5%a4%89%e6%9b%b4-modifyedmx","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/3037","title":{"rendered":"Entity Data Model \u306e\u30c6\u30fc\u30d6\u30eb\/\u30ab\u30e9\u30e0\u540d\u3092\u4e00\u62ec\u3067\u5909\u66f4 ModifyEdmx"},"content":{"rendered":"<p>\nLINQ to Entities \u3067\u6271\u3046 Entity Data Model \u306e\u30c6\u30fc\u30d6\u30eb\u540d\u3084\u30ab\u30e9\u30e0\u540d\u3092\u5909\u66f4\u3059\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002<br \/>\n\u7528\u9014\u3068\u3057\u3066\u306f\u300cwordpress \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092 mysql \u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060\u3093\u3060\u3051\u3069\u3001wp_ \u306a\u306b\u3084\u3089\u3068\u3044\u3046\u30c6\u30fc\u30d6\u30eb\u540d\u304c\u3044\u3084\u3089\u3057\u3044\u3057\u3001post_id \u3068\u304b\u3058\u3083\u306a\u304f\u3066 PostId \u304c\u3044\u3044\u3093\u3067\u3059\u30c3!!!\u300d\u3068\u3044\u3046\u6642\u306b\u4f7f\u3044\u307e\u3059\u3002\u975e\u5e38\u306b\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u306d\uff57\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/02\/wpid-dworkblogimage20120203_02org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/02\/wpid-dworkblogimage20120203_02thum.jpg'\/><\/a><\/p>\n<p>\n\u306e\u3088\u3046\u306b\u3001\u30c6\u30fc\u30d6\u30eb\u540d\u3068\u30ab\u30e9\u30e0\u540d\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002Visual Studio \u4e0a\u3067\u3061\u307e\u3061\u307e\u3068\u3084\u3063\u3066\u3082\u3044\u3044\u306e\u3067\u3059\u304c\u3001\u4e00\u6c17\u306b\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3002\u30c6\u30fc\u30d6\u30eb\u540d\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u306f *.edmx \u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5f04\u3089\u306a\u3044\u3068\u99c4\u76ee\u306a\u306e\u3067\u3001\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u4fa1\u5024\u306f\u3042\u308b\u304b\u3068\u3002\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/02\/wpid-dworkblogimage20120203_03org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/02\/wpid-dworkblogimage20120203_03thum.jpg'\/><\/a><\/p>\n<p>\n\u5de6\u4e0a\u306e\u300c\u4e00\u5f8b\u5909\u66f4\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001.NET \u6a19\u6e96\u306e upper camel calse \u306b\u5909\u63db\u3057\u307e\u3059\u3002\u300cpost_id\u300d\u3060\u3063\u305f\u3089\u300cPostId\u300d\u3068\u3044\u3046\u5177\u5408\u3067\u3059\u306d\u3002\u30ab\u30e9\u30e0\u540d\u3092\u3072\u3068\u3064\u305a\u3064\u5909\u63db\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<p>\n\u4fdd\u5b58\u5148\u306f\u5143\u306e *.edmx \u30d5\u30a1\u30a4\u30eb\u3067\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u4fdd\u5b58\u3057\u305f\u5f8c\u306b Visual Studio \u306b\u8a8d\u8b58\u3055\u305b\u308b\u306e\u304c\u3061\u3087\u3063\u3068\u9762\u5012\u3067\u3002\u4fdd\u5b58\u3057\u305f\u3060\u3051\u3067\u306f\u3001*.Designer.cs \u30d5\u30a1\u30a4\u30eb\u304c\u66f8\u304d\u63db\u3048\u3089\u308c\u306a\u3044\u306e\u3067\u3001\u4fdd\u5b58\u3057\u305f\u5f8c\u306b *.edmx \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u4f4d\u7f6e\u306a\u3093\u304b\u3092\u305a\u3089\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001Visual Studio \u304c\u66f4\u65b0\u3092\u8a8d\u8b58\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001*.Designer.cs \u304c\u66f4\u65b0\u3055\u308c\u308b\u3068\u3044\u3046\u5177\u5408\u3067\u3059\u3002\u3053\u306e\u3042\u305f\u308a\u3001edmgen.exe \u3067\u5909\u66f4\u3067\u304d\u308b\u306e\u304b\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u3061\u3087\u3063\u3068\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u3067\u3002\n<\/p>\n<p>\n\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u3053\u3061\u3089\u3002 <a href=\"http:\/\/moonmile.net\/up\/ModifyEdmx.0.1.zip\">ModifyEdmx.0.1.zip<\/a><br \/>\n\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001<a href=\"https:\/\/github.com\/moonmile\/etc\/tree\/master\/ModifyEdmx\">ModifyEdmx at master from moonmile\/etc &#8211; GitHub<\/a> \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LINQ to Entities \u3067\u6271\u3046 Entity Data Model \u306e\u30c6\u30fc\u30d6\u30eb\u540d\u3084\u30ab\u30e9\u30e0\u540d\u3092\u5909\u66f4\u3059\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002 \u7528\u9014\u3068\u3057\u3066\u306f\u300cwordpress \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092 mysql \u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060\u3093\u3060\u3051\u3069\u3001wp_  &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/3037\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12,23],"tags":[],"class_list":["post-3037","post","type-post","status-publish","format-standard","hentry","category-tools","category-csharp"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/3037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=3037"}],"version-history":[{"count":2,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/3037\/revisions"}],"predecessor-version":[{"id":3051,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/3037\/revisions\/3051"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=3037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=3037"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=3037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}