473,473 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

LINQ and OO

I've been hearing a lot about LINQ in connection with Orcas, the next
release of VS.NET. Micorosoft touts LINQ as the Next Big Breakthrough, but
it looks to me like further muddying of application layering. I use an
object-oriented development approach, and I don't see how LINQ can be
integrated.

Am I missing something? Are there any good articles on using LINQ within OO
development? Or is that, like 'army intelligence', an oxymoron? Thanks

David Veeneman
Foresight Systems
Apr 20 '07 #1
3 1728
On 20 Apr, 13:30, "David Veeneman" <dav...@nospam.comwrote:
I've been hearing a lot about LINQ in connection with Orcas, the next
release of VS.NET. Micorosoft touts LINQ as the Next Big Breakthrough, but
it looks to me like further muddying of application layering. I use an
object-oriented development approach, and I don't see how LINQ can be
integrated.

Am I missing something? Are there any good articles on using LINQ within OO
development? Or is that, like 'army intelligence', an oxymoron? Thanks

David Veeneman
Foresight Systems
I've been prodding v3 with a long stick for a bit. There's a lot to
get your head around. Basically if you've ever had to use IEnumerable/
IEnumerator LINQ will probably offer you something.

Here's quite an interesting tutorial/primer.
http://blogs.msdn.com/ericwhite/page...ing_3F00_.aspx

For reference here's MS's main LINQ site.
http://msdn2.microsoft.com/en-us/net.../aa904594.aspx

Apr 20 '07 #2
Hi,

I suppose OO development in this context is about businessobjects presisted
in databases.
If I understand id right, for this you'll still need ORM-Tools or similar.
But this will be able to use LINQ instead of their specific object query
languages.

Greetings
Christof

"David Veeneman" <da****@nospam.comschrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP05.phx.gbl...
I've been hearing a lot about LINQ in connection with Orcas, the next
release of VS.NET. Micorosoft touts LINQ as the Next Big Breakthrough, but
it looks to me like further muddying of application layering. I use an
object-oriented development approach, and I don't see how LINQ can be
integrated.

Am I missing something? Are there any good articles on using LINQ within
OO development? Or is that, like 'army intelligence', an oxymoron? Thanks

David Veeneman
Foresight Systems


Apr 20 '07 #3
David Veeneman <da****@nospam.comwrote:
I've been hearing a lot about LINQ in connection with Orcas, the next
release of VS.NET. Micorosoft touts LINQ as the Next Big Breakthrough, but
it looks to me like further muddying of application layering. I use an
object-oriented development approach, and I don't see how LINQ can be
integrated.

Am I missing something? Are there any good articles on using LINQ within OO
development? Or is that, like 'army intelligence', an oxymoron? Thanks
I suspect what you're missing to start with is that LINQ is far more
than just "access to a SQL database in C#". I expect that most of my
own uses of LINQ won't touch a database at all - they'll be in-memory
manipulations.

Having said that, I don't see any problem in using ORM, which is
basically what LINQ to SQL is (with lovely aspects like compile-time
validation of queries). I've used Hibernate in a couple of projects
with a *great* deal of success - indeed, it makes working with a
database but still having OO code *easier* rather than harder. The
layer boundaries can sometimes be harder to determine, but that's a
different matter from it "not being OO".

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Apr 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave Johnson | last post by:
Greetings, i want to be able to use linq new technology with sql server. the senario i am not able to do so far is as follow: 1- i program with linq 2- be able to generate and manipulate...
4
by: cj | last post by:
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've seen demos of it with SQL Server but they've used it with a server browser and I don't think that'd work when I need to see VFP...
9
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Hi all: after reading different places/sites about linq... I ran into these questions: 1. What framework do we need to run linq ? (does it depend on what version of visual studio we have?) how...
0
by: =?Utf-8?B?SHlwZXJjb2Rlcg==?= | last post by:
I'm encountering some strange behavior after deploying a ASP.net 3.5 website to production, i'm unable to reproduce these in my dev environment. This error seems to occur very randomly but it's...
4
by: =?Utf-8?B?RXJpYyBGYWxza2Vu?= | last post by:
We’re storing our main entity in an insert only table which stores the history of past revisions, but we’re facing problems with storing this history as LINQ will only update the entity, and...
14
by: thj | last post by:
Hi, I was wondering what you guys are using and why? LINQ to SQL or NHibernate? Thanks in advance, Tommy
9
by: Cirene | last post by:
I'm about to begin a brand new, big, ASP.NET project (using 3.5 .net fw), VS 2008. I'm using MySQL as the backend (customer request.) I have absolutely no experience with LINQ and/or the Entity...
3
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
I'm attempting to use LINQ to insert a record into a child table and I'm receiving a "Specified cast is not valid" error that has something to do w/ the keys involved. The stack trace is: ...
4
by: George | last post by:
I am a bit conservative type and usually give some time for technology to mature before starting to try it. Today my question is Linq. To start using it or not. So here is the voting questions....
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.