Main Page | Report this Page
.NET DotNet Forum Index  »  ADO .NET Forum  »  Linq obsoleted by Entity Framework?...
Page 1 of 1    

Linq obsoleted by Entity Framework?...

Author Message
Eric...
Posted: Sat Oct 10, 2009 1:58 pm
Guest
I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?
 
Scott M....
Posted: Sat Oct 10, 2009 5:25 pm
Guest
"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:adp1d5d43dglrni2sqb0pj68lvjoggkfvj at (no spam) 4ax.com...
Quote:
I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?

Don't know for sure, but because LinQ isn't just about Linq To SQL, and can
be used with data in all forms, doesn't that mean it will be useful in areas
where EF doesn't touch?

-Scott
 
Eric...
Posted: Sat Oct 10, 2009 9:04 pm
Guest
On Sat, 10 Oct 2009 19:25:37 -0400, "Scott M." <s-mar at (no spam) nospam.nospam>
wrote:

Quote:

"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:adp1d5d43dglrni2sqb0pj68lvjoggkfvj at (no spam) 4ax.com...
I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?

Don't know for sure, but because LinQ isn't just about Linq To SQL, and can
be used with data in all forms, doesn't that mean it will be useful in areas
where EF doesn't touch?

-Scott

EF is supposed to be adapted to work on XML files, and presumably
other areas currently covered by Linq. So I'm not sure that Linq will
continue to have its own domain there.

But of course there's "Linq to Entities" that serves the same purpose
as SQL for EF. Not sure if that's reason enough to keep up with Linq,
or whether I should just start concentrating on EF instead.
 
Norman Yuan...
Posted: Sun Oct 11, 2009 8:37 am
Guest
It is not LINQ is bit obsoleted due to EF. With EF, LINQ to Entity would be
used heavily to qeury the entity modal. It is LINQ to SQL becomes a bit
obsolete, due to EF, not LINQ irself, which have/can be implemeted to
different type of data collections, such as LINQ to Entity, LinQ to XML,
Linq to Object.....


"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:adp1d5d43dglrni2sqb0pj68lvjoggkfvj at (no spam) 4ax.com...
Quote:
I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?
 
Mark Rae [MVP]...
Posted: Sun Oct 11, 2009 8:48 am
Guest
"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:adp1d5d43dglrni2sqb0pj68lvjoggkfvj at (no spam) 4ax.com...

Quote:
I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?

I think you're imagining that Linq is just Linq to SQL...

I use Linq all the time, but hardly ever with ADO.NET objects. It really
comes into its own when used with object models such as ActiveDirectory and
Exchange where it is, IMO, little short of revolutionary...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
 
Eric...
Posted: Sun Oct 11, 2009 12:24 pm
Guest
On Sun, 11 Oct 2009 15:48:18 +0100, "Mark Rae [MVP]"
<mark at (no spam) markNOSPAMrae.net> wrote:

Quote:
"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:adp1d5d43dglrni2sqb0pj68lvjoggkfvj at (no spam) 4ax.com...

I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?

I think you're imagining that Linq is just Linq to SQL...

I use Linq all the time, but hardly ever with ADO.NET objects. It really
comes into its own when used with object models such as ActiveDirectory and
Exchange where it is, IMO, little short of revolutionary...

Hi Norman and Mark,

Thanks for the replies. I haven't done any work with ActiveDirectory
or Exchange, but I understand that EF will soon be incorporated as
interface to XML and other 'objects' (as of VS2010). Not sure if there
is any reason that AD or Exchange would be outside the possible scope
of EF.

Obviously, Linq to EF would still be useful, but that would seem to
narrow the utility of Linq considerably. That's what I was wondering
about.

Also, does anyone know anything about possible speed penalties
incurred due to EF's additional layers? Is this generally compensated
by EF's more efficient object model?
 
Scott M....
Posted: Wed Oct 14, 2009 12:18 pm
Guest
"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:1ji2d5d8i284gts4kt4bio1g0nf3upce68 at (no spam) 4ax.com...
Quote:
On Sat, 10 Oct 2009 19:25:37 -0400, "Scott M." <s-mar at (no spam) nospam.nospam
wrote:


"Eric" <Eric at (no spam) ---nospam---.com> wrote in message
news:adp1d5d43dglrni2sqb0pj68lvjoggkfvj at (no spam) 4ax.com...
I know that early talk about this indicated that Linq would still be a
major component, even after EF comes into its own. But some articles
that mention that programmers are irritated that they've spent time
learning Linq, when it has now become an essentially obsolete
technology. I've even seen contradictory statements about this within
a couple paragraphs.

Any opinions from those who have worked with both? What is the
compelling reason to continue using/learning Linq?

Don't know for sure, but because LinQ isn't just about Linq To SQL, and
can
be used with data in all forms, doesn't that mean it will be useful in
areas
where EF doesn't touch?

-Scott

EF is supposed to be adapted to work on XML files, and presumably
other areas currently covered by Linq. So I'm not sure that Linq will
continue to have its own domain there.

But of course there's "Linq to Entities" that serves the same purpose
as SQL for EF. Not sure if that's reason enough to keep up with Linq,
or whether I should just start concentrating on EF instead.


Well, that would mean that EF would have to encompass ALL data and data
stores, which I don't think it's designed to do.

-Scott
 
Patrice...
Posted: Thu Oct 15, 2009 11:52 am
Guest
Quote:
Thanks for the replies. I haven't done any work with ActiveDirectory
or Exchange, but I understand that EF will soon be incorporated as
interface to XML and other 'objects' (as of VS2010).

IMO this is a misunderstanding. You'll have "code only" or "model first" or
"POCO" but he overall goal is still to work with an underlying database...

Se for example :
http://blogs.msdn.com/adonet/archive/2009/05/21/poco-in-the-entity-framework-part-1-the-experience.aspx

Linq to Xml or Linq to objects will be still used for another scenario..

Basically :
- LINQ itself stays
- it uses providers so you can query against whatever you want
- Entity Framework (which is just a provider for db based data) evolves...
- Linq to Sql (that is the Sql Server specific provider for LINQ) could fade
away as EF is a superset (though for now I find Linq to Sql better).

--
Patrice
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Sun Dec 06, 2009 12:52 am