{"id":6956,"date":"2022-02-23T18:12:41","date_gmt":"2022-02-23T09:12:41","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=6956"},"modified":"2023-02-22T11:11:38","modified_gmt":"2023-02-22T02:11:38","slug":"net-mvc-select-top-20","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=6956","title":{"rendered":".Net MVC  Select top 20\/ Take(20)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Remark :  Mssql  \ucffc\ub9ac  top 20 \uac1c\ub9cc \uac00\uc838\uc624\uae30 <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" title=\"Take(10)\">var applicant = \n    (from s in MyRepository.GetApplicant()\n    orderby s.LastName\n    select s).Take(10);<\/pre><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">        public async Task&lt;IActionResult&gt; History(int? id)\n        {\n            if (id == null)\n            {\n                return NotFound();\n            }\n\n            var Rule_History = from s in _context.Historys\n                               select s;\n\n            return PartialView(await History.AsNoTracking().Where(s =&gt; s.IDX == id).Take(20).ToListAsync());\n        }<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Remark : Mssql \ucffc\ub9ac top 20 \uac1c\ub9cc \uac00\uc838\uc624\uae30<\/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":[131],"tags":[],"class_list":["post-6956","post","type-post","status-publish","format-standard","hentry","category-debaps-net"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/6956","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=6956"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/6956\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}