René's URL Explorer Experiment


Title: Issue with Inlinecount with navigation properties · Issue #63 · beyond-code-github/LinqToQuerystring · GitHub

Open Graph Title: Issue with Inlinecount with navigation properties · Issue #63 · beyond-code-github/LinqToQuerystring

X Title: Issue with Inlinecount with navigation properties · Issue #63 · beyond-code-github/LinqToQuerystring

Description: Hi, I'm having some trouble with using the inlinecount with a child navigation property using projections. Here are the classes: public class Person { public int ID { get; set; } public string FirstName { get; set; } public string LastNa...

Open Graph Description: Hi, I'm having some trouble with using the inlinecount with a child navigation property using projections. Here are the classes: public class Person { public int ID { get; set; } public string Firs...

X Description: Hi, I'm having some trouble with using the inlinecount with a child navigation property using projections. Here are the classes: public class Person { public int ID { get; set; } public string ...

Opengraph URL: https://github.com/beyond-code-github/LinqToQuerystring/issues/63

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue with Inlinecount with navigation properties","articleBody":"Hi,\n\nI'm having some trouble with using the inlinecount with a child navigation property using projections.\n\nHere are the classes:\n\n```\npublic class Person\n{\n    public int ID { get; set; }\n    public string FirstName { get; set; }\n    public string LastName { get; set; }\n    public ICollection\u003cAddress\u003e Addresses { get; set; }\n}\n\npublic class Address\n{\n    public int ID { get; set; }\n    public string FirstLine { get; set; }\n    public string SecondLine { get; set; }\n}\n```\n\nAnd here is the relevant code:\n\n_unitOfWork.PersonRepository.GetDbSet()\n        .Select(p =\u003e new PersonDTO\n        {\n            ID = p.ID,\n            FirstName = p.FirstName,\n            LastName = p.LastName,\n            Address = p.Address.Select(x =\u003e new AddressDTO { Id = x.ID, FirstLine = x.FirstLine, SecondLine = x.SecondLine}).ToList()\n        })\n        .LinqToQuerystring(typeof(PersonDTO), query));\n\nEverything works fine (including filtering, sorting) except when I introduce the Inlinecount=allpages querystring. The inner exception that i'm getting is: \n\n\"There is already an open DataReader associated with this Command which must be closed first.\"\n\nIf I do a ToList().AsQueryable() between the .linqToQueryString and the Select statement it works fine but that means that first the entire dataset is queried and then the filtering happens on the returned dataset. I would like to avoid that as we're dealing with a large dataset. Is there any way I can get the required data with a single call to the API?\n\nThanks\nBest Regards\n\nVishal\n","author":{"url":"https://github.com/maganuk","@type":"Person","name":"maganuk"},"datePublished":"2015-11-17T17:26:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/63/LinqToQuerystring/issues/63"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:19fb4627-9053-af7f-a875-c2442367c079
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF52:ADDE1:69BDBD9:902A696:697865F5
html-safe-noncecf3b603b4a925e415e9d8d5a850dc9c6792a8fa3774e15980fa119565ed98bfb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjUyOkFEREUxOjY5QkRCRDk6OTAyQTY5Njo2OTc4NjVGNSIsInZpc2l0b3JfaWQiOiI3MjkxMTk3OTc0NTA1ODc0OTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac04ef5250ea1e9f6e36a79bde8839bb18ee8b2bebd6fa0757f1ecd50ae467faaa
hovercard-subject-tagissue:117406162
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/beyond-code-github/LinqToQuerystring/63/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c7fdac58177a733d6d0a56ff52624269620dff56b4e8989d20df97b9e3ce7074/beyond-code-github/LinqToQuerystring/issues/63
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c7fdac58177a733d6d0a56ff52624269620dff56b4e8989d20df97b9e3ce7074/beyond-code-github/LinqToQuerystring/issues/63
og:image:altHi, I'm having some trouble with using the inlinecount with a child navigation property using projections. Here are the classes: public class Person { public int ID { get; set; } public string Firs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaganuk
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/beyond-code-github/LinqToQuerystring git https://github.com/beyond-code-github/LinqToQuerystring.git
octolytics-dimension-user_id795965
octolytics-dimension-user_loginbeyond-code-github
octolytics-dimension-repository_id9010972
octolytics-dimension-repository_nwobeyond-code-github/LinqToQuerystring
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9010972
octolytics-dimension-repository_network_root_nwobeyond-code-github/LinqToQuerystring
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release520b65a872113b919c1bbdb03834a50af15859fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues/63#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbeyond-code-github%2FLinqToQuerystring%2Fissues%2F63
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbeyond-code-github%2FLinqToQuerystring%2Fissues%2F63
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=beyond-code-github%2FLinqToQuerystring
Reloadhttps://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues/63
Reloadhttps://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues/63
Reloadhttps://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues/63
beyond-code-github https://patch-diff.githubusercontent.com/beyond-code-github
LinqToQuerystringhttps://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbeyond-code-github%2FLinqToQuerystring
Fork 63 https://patch-diff.githubusercontent.com/login?return_to=%2Fbeyond-code-github%2FLinqToQuerystring
Star 138 https://patch-diff.githubusercontent.com/login?return_to=%2Fbeyond-code-github%2FLinqToQuerystring
Code https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring
Issues 28 https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues
Pull requests 5 https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/pulls
Actions https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/actions
Projects 0 https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/projects
Wiki https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/wiki
Security 0 https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/security
Insights https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/pulse
Code https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring
Issues https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues
Pull requests https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/pulls
Actions https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/actions
Projects https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/projects
Wiki https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/wiki
Security https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/security
Insights https://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/beyond-code-github/LinqToQuerystring/issues/63
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/beyond-code-github/LinqToQuerystring/issues/63
Issue with Inlinecount with navigation propertieshttps://patch-diff.githubusercontent.com/beyond-code-github/LinqToQuerystring/issues/63#top
https://github.com/maganuk
https://github.com/maganuk
maganukhttps://github.com/maganuk
on Nov 17, 2015https://github.com/beyond-code-github/LinqToQuerystring/issues/63#issue-117406162
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.