{"id":7005,"date":"2022-03-04T14:10:33","date_gmt":"2022-03-04T05:10:33","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=7005"},"modified":"2022-03-15T09:40:34","modified_gmt":"2022-03-15T00:40:34","slug":"c-linq-%ec%a1%b0%ed%9a%8c-%ec%97%90%eb%9f%ac","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=7005","title":{"rendered":"C# LINQ  get_Item(Int32) \uc870\ud68c \uc5d0\ub7ec"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Remark : LINQ to Entities does not recognize the method &#8216;get_Item(Int32)&#8217; \uba54\uc11c\ub4dc\ub97c \uc778\uc2dd\ud558\uc9c0 \uc54a\uc73c\ubbc0\ub85c \uc774 \uba54\uc11c\ub4dc\ub294 \uc800\uc7a5\uc18c \uc2dd\uc73c\ub85c \ubcc0\ud658\ub420 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/h5>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">for (int i = 0; i &lt; R_Data.Count; i++) \/\/ \ub8f0 \ud55c\uc904\uc529 \uc9c4\ud589 \n{    \n\t   var Log_Cache = ctx.LOG_CACHE\n\t\t\t.Where(s =&gt; s.R_NUM == R_NUM &amp;&amp; s.NOTE_RULE == R_Data[1])\n\t\t\t.FirstOrDefault();\n}<\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Solution :  R_Data[1] \ub97c  \ubcc0\uc218 \uc9c0\uc815\ud574\uc11c \ud560\ub2f9 \ud6c4 \uc801\uc6a9<\/h4>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">for (int i = 0; i &lt; R_Data.Count; i++) \/\/ \ub8f0 \ud55c\uc904\uc529 \uc9c4\ud589 \n{    \n    string sR_Data = R_Data[1];\n\n\t   var Log_Cache = ctx.LOG_CACHE\n\t\t\t.Where(s =&gt; s.R_NUM == R_NUM &amp;&amp; s.NOTE_RULE == sR_Data)\n\t\t\t.FirstOrDefault();\n}<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Remark : LINQ to Entities does not recognize the method &#8216;get_Item(Int32)&#8217; \uba54\uc11c\ub4dc\ub97c \uc778\uc2dd\ud558\uc9c0 \uc54a\uc73c\ubbc0\ub85c \uc774 \uba54\uc11c\ub4dc\ub294 \uc800\uc7a5\uc18c \uc2dd\uc73c\ub85c \ubcc0\ud658\ub420 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. Solution : R_Data[1] \ub97c <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=7005\" title=\"C# LINQ  get_Item(Int32) \uc870\ud68c \uc5d0\ub7ec\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-7005","post","type-post","status-publish","format-standard","hentry","category-devc"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7005"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7005\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}