Delayed execution vs ToList() in LINQ Database Queries(ytechie.com)

submitted by SuperJasonSuperJason(2740) 2 years, 11 months ago

Should you use ToList() in your repository methods, or should you pass the iterator back to the UI to delay the execution of the query? Read on to find out why it's a bad idea to delay execution in this case.

add a comment |category: |Views: 293

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story