Last post Jan 12, 2008 11:18 AM by Lee Dumond
Jan 11, 2008 10:40 PM|Lee Dumond|LINK
I have been getting into LINQ for the past few weeks, and have had the idea that I might try to recreate the project
in the book using .NET 3.5 and LINQ to SQL. Is anyone else keen to try to pull this off? If so, I'd like to hear your thoughts.
From what I've seen, LINQ is some pretty amazing stuff (and the upcoming Entity Framework should make it even better.)
I can definitely see going back and retrofitting the entire project with LINQ, and making the source available as a learning tool. With LINQ to SQL, it's pretty easy to build a clean DAL, and to put business rules into partial classes that reside separately
from the DAL.
I can't be sure, but I'd be willing to bet a LINQ-based DAL could lighten the code in this project by half.
What say you?
Jan 12, 2008 01:09 AM|dparsons|LINK
I think you wait until the EF comes out of Beta and do it then. LINQ to SQL is nice but EF offers so much more that it would actually be possible to replace parts if not all of the DAL with it. (Of course if you really want to dive right in, download the
CTP and go to town! =] )
Jan 12, 2008 11:18 AM|Lee Dumond|LINK
Yes, I was actually thinking the same thing. LINQ to Entities should be really revolutionary. If they ever come out with Edition 3 of this book, that's where I think they should go with it.
I am always wary of loading CTPs. Been bitten by that in the past. But according to the powers that be, EF should be out in a few months anyway. I sure hope so.