OBSOLETE… sort of. Found an issue with this and am posting the issue today. (07/21/2009) A while back I decided to show some paging stuff and I forgot that recently, well ok in the last few months, I actually put together a sort of generic extension method to take care of most of the paging [...]
Entity Framework: Possible Lazy Loading Solution
So been a while since I posted last, and I’m sure everyone has been worried. Turns out that I’ve been banging my head against the wall named MVC. And man I have a slew of new posts back logged for when I have more time. However, due to the new project I’ve been working one, [...]
Entity Framework, Include, and Data Item classes
So found something interesting out the other day, and maybe you already knew this but I didn’t so I’m going to post about it. Don’t like it? Too bad. One things nice about the Entity Framework is the ability to create or fill a class on the fly with the Linq query methods/language. You.. you [...]
Just Use the Stupid Functionality
So something I’ve come across time and time again since starting to use ORMs (about 3 or so years ago) was the infamous “hydrate a reference object just to save another.” If you haven’t had this before, you probably will anyhow, but here’s what it is. Say I have a “Manny” object and I need [...]
Paging and the Entity Framework, Skip, and Take Part 3
Get the total count of pages. | Get the real page number. | Using Skip and Take to Page | The Actual Paging Controls Ok so the last two posts have been arguably useless, maybe more so than anything else here, but they were somewhat needed because now I am going to show how to [...]