Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: .NET Domain-Driven Design with C#: Problem - Design - Solution ISBN: 978-0-470-14756-6
This is the forum to discuss the Wrox book .NET Domain-Driven Design with C#: Problem - Design - Solution by Tim McCarthy; ISBN: 9780470147566
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: .NET Domain-Driven Design with C#: Problem - Design - Solution ISBN: 978-0-470-14756-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 23rd, 2008, 10:53 AM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Integrating LINQ

Hello Tim,

I would like to know how you would integrate LINQ into your DDD framework. Did you already think about a LINQ variant? Would you use LINQ to implement an alternative repository?

My idea is to save some work on avoiding to implement each single database field mappings and their related tables when using LINQ and reflection, I am not sure if this makes sense.

I would appreciate if you or/and some other readers would share some thoughts.

Best regards,
Hannes


Reply With Quote
  #2 (permalink)  
Old September 29th, 2008, 11:34 AM
Wrox Author
 
Join Date: Feb 2006
Location: San Diego, , USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hannes,

I did in fact spend a lot of time deliberating how to use LINQ in my repository framework, and I came to the conclusion that you could use it if you wanted to behind the walls of the repository interface. Basically, it is not part of the framework, but any repository can use whatever it wants to get at the data it needs. I thought about making a generic repository that would take in LINQ lambda expressions for doing selections, but I did not feel that it was worth the effort.

I wanted to use the ADO.NET Entity Framework, but I really hated using it. LINQ to SQL was even worse. So, I just kind of threw in the towel and went with what I had, in hopes of changing it to use the EF once it got a lot better.

Thanks,

Tim

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LINQ-ifying TheBeerHouse available jminatel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 February 5th, 2010 02:37 PM
LINQ to SQL in TheBeerHouse zhoux BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 1st, 2008 07:37 AM
C# to traverse through a ChechBoxList using LINQ Helios BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 September 26th, 2008 04:37 PM
LINQ question thangxii BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 July 6th, 2008 03:13 PM
Using LINQ for this book... Lee Dumond BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 January 9th, 2008 01:05 AM



All times are GMT -4. The time now is 07:32 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.