Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
BSD 3-Clause "New" or "Revised" License
2.38k
stars
1.12k
forks
source link
Remove unnecessary QueryHints #4491
Open
orchardbot opened 10 years ago
@sebastienros created: https://orchard.codeplex.com/workitem/20662
Some old query hints are now slowing down queries as the parts have been shifted:
return _contentManager.Query<TaxonomyPart, TaxonomyPartRecord>().WithQueryHints(new QueryHints().ExpandParts<AutoroutePart, TitlePart>()).List();
TitlePart and AutoroutePart are shifted and should not be queried