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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...