Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys,
I want to convert my umbracoexamine IEnumerable<SearchResult> to an IEnumerable<Node> but am unsure of the most efficient way of doing so.. ie
results.Select(r => new Node(r.ID))??
im just wondering if new Node hits the db or if it pulls it from the xml?
Cheers,
Tom
The Node API is the published XML, the Document API hits the DB. So you should be fine.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Most Efficient Way Of Converting UmbracoExamine SearchResult Object To Nodes
Hi Guys,
I want to convert my umbracoexamine IEnumerable<SearchResult> to an IEnumerable<Node> but am unsure of the most efficient way of doing so.. ie
results.Select(r => new Node(r.ID))??
im just wondering if new Node hits the db or if it pulls it from the xml?
Cheers,
Tom
The Node API is the published XML, the Document API hits the DB. So you should be fine.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.