Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Pass LINQ object form Biz Class
Message
From
06/07/2010 17:53:09
 
 
To
06/07/2010 16:33:12
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
ASP.NET
Category:
LINQ
Miscellaneous
Thread ID:
01471528
Message ID:
01471612
Views:
45
EF is designed to easily get entities from the data store. The entities can get passed around inside the application, but you may have different entities acting against the same data source. For example, on a customer screen you may have all kinds of info in the CustomerEntity such as email address, credit limit, account balance, etc. But a shipping function wouldn't need all that and have a different CustomerEntity. (They would, of course, be named differently.) My cursory read of Rick's article says he wants to avoid having two Customer entities for this and just have one, then use LINQ to get the subset of data needed. I think that's where you were heading in your original post. And you ran into LINQ problems Rick was talking about.

I haven't dug much into LINQ and not at all into EF. But I understand the concepts of both. I've been too busy working on my book for the past few months. But, I do see a light at the end of the tunnel on that.

>So EF is not really designed for N tier data access? Or maybe the problem is LINQ? What technology would you suggest? I thought this link was interesting.
>
>http://west-wind.com/WebLog/posts/33570.aspx
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform