473,804 Members | 3,909 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LINQ book

Hi all

I would like to learn LINQ in great depth, not just "usual" use but how to
do just about everything :-) So far I have found the following two books,
the first looks most interesting:

http://tinyurl.com/6po5bl

http://tinyurl.com/5cw6ar

Any opinions on these? Any recommendations for other books?
Thanks

Pete

Jun 27 '08 #1
5 1474
Well, LINQ in Action is certainly good for LINQ to SQL. I haven't read
the other. It depends what you are interested in really: LINQ is more
a philosohpy/pattern than a specific technology. For example, you can
get LINQ to Amazon, LINQ to ADO.NET Data Services, etc. In terms of
the *language* - i.e. *how* everything works together, I know that "C#
in Depth" gives a good account (the latter third-or-so) - so if you
want to know *how* all these different implementations work it might
be worth a read.

Marc
Jun 27 '08 #2
Jon Skeet [C# MVP] wrote:
What would you want to see about the differences between the
IEnumerable<Tme thosd and the IQueryable<Tmet hods though? From a
language point of view they're just different methods which may end
up getting called as part of query expression translation. I agree
that it's important to understand that, and that lambda expressions
can be converted into either delegates or expression trees - but at
an individual method level, what are you after?

When it comes to what IQueryable<Tmet hods can be used for exactly
(i.e. how to produce a left outer join in the generated SQL etc) I'd
want to see a different reference for each provider, as that really
will vary.
Hi Jon,

Oh it helps that I know Peter from his (and mine) Delphi and
specifically ECO days. I know that Peter will want to understand in
depth what is happening under the covers. I am certain that he will
want to know the exact circumstances that an Expression tree is being
used and how they are constructed. Peter is the sort of guy who would /
could build Linq providers (in fact thats what I hope he is doing for
ECO ;-).

My response was just to indicate that most of the books I have seen (so
far) don't really talk about it in depth, they cover it from a
syntactical usage point of view.

Regards Tim.

--

Jun 30 '08 #3
The second book give details I haven't seen anywhere else, in a book, as
example, what would be your C# statement to get the following generated SQL:

SELECT [t0].[a],
[t0].[b],
dbo.SomeUserDef inedFunction([t].[a], [t0].[b])
FROM someTableName AS [t0]
Unfortunately, I have the book, but haven't read it as I would like ... we
decided to not use LINQ just at the time it was on my schedule to read it
from cover to cover! But sounds like a must if you plan serious work.
I got time to read the first one you mentioned, and enjoyed it. I
particularly liked its coverage of LINQ-Join, which, for me, was the book
with the better coverage of this LINQ-concept. I also got the LINQ way of
thinking, which is not the SQL way at all, but sometimes, both converge!
Vanderghast, Access MVP

"Peter Morris" <mr*********@SP AMgmail.comwrot e in message
news:%2******** **********@TK2M SFTNGP03.phx.gb l...
Hi all

I would like to learn LINQ in great depth, not just "usual" use but how to
do just about everything :-) So far I have found the following two books,
the first looks most interesting:

http://tinyurl.com/6po5bl

http://tinyurl.com/5cw6ar

Any opinions on these? Any recommendations for other books?
Thanks

Pete
Jul 2 '08 #4
update: the first reference also mentions how to use udf, so I was incorrect
in my example.
"Michel Walsh" <va************ *************@n ospam.comwrote in message
news:C3******** *************** ***********@mic rosoft.com...
The second book give details I haven't seen anywhere else, in a book, as
example, what would be your C# statement to get the following generated
SQL:

SELECT [t0].[a],
[t0].[b],
dbo.SomeUserDef inedFunction([t].[a], [t0].[b])
FROM someTableName AS [t0]

(...)

Jul 2 '08 #5
Please go to http://www.a2zdotnet.com/Default.aspx
for step by step tutorials for beginers in LINQ sections.

--
regards,
Pankaj
http://www.A2ZDotNet.com
"Peter Morris" wrote:
Hi all

I would like to learn LINQ in great depth, not just "usual" use but how to
do just about everything :-) So far I have found the following two books,
the first looks most interesting:

http://tinyurl.com/6po5bl

http://tinyurl.com/5cw6ar

Any opinions on these? Any recommendations for other books?
Thanks

Pete

Aug 11 '08 #6

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

Similar topics

0
1077
by: Deepak.Verma3441 | last post by:
LINQ Book Introducing Microsoft LINQ http://jumbooks.com/books/Computers%20and%20Internet/Introducing%20Microsoft%20Linq/
3
1946
by: Marc S | last post by:
I have a LINQ class that I can use to query data from my database. I want to query the data directly into an XML string without defining each field. If I have a table Names like the following: Table: Names Id int, LastName varchar(32), FirstName varchar(32)
5
3701
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
After having played around with LINQ and reading the literature on it I have not been successful in getting this to work so I am looking for some guidance: I want to find a hunk in a collection whose Start field is the largest in the collection but less than an arbitrary cutoff ("selectedRow"). The result of the query should just be that single object of type Hunk. (No two objects will have the same value for their Start fields.) Here is...
1
1032
by: Scott M. | last post by:
How would I use LINQ to XML to extract just the text (not the markup) of the following: <description><!]></description> In other words, I'm only interested in: In an interview, David Hajdu, author of the book "The Ten-Cent Plague: The Great Comic-Book Scare and How it Changed America," discusses the rise and fall of the rise and fall of comics, and how their unwelcome reception
20
2912
by: raylopez99 | last post by:
Inspired by Chapter 8 of Albahari's excellent C#3.0 in a Nutshell (this book is amazing, you must get it if you have to buy but one C# book) as well as Appendix A of Jon Skeet's book, I am going through some LINQ queries. But how to cast? ( See the below, modified from somebody else's code. The problem is the query 'stops' (throws a cast exception) at "3", and never gets to "violet".
2
2402
by: shapper | last post by:
Hello, I have the following Linq query: List<PostsTaginsert = (from t in (from t in database.Tags join p in paper.Tags on t.Name equals p.Name select t).ToList() select new PostsTag {
1
1271
by: rote | last post by:
Which linq book to get me started? If there is a book C# 3.0 and linq combined i would be happy Thanks for any advices..
0
979
by: bob | last post by:
Hi Arne, Check out the ObjectDataSouce. Get the feeling that the output of your LINQ query could be bound to it. Something like LINQ -IEnumerable<T-ObjectDataSource Bind the Datagrid to the ObjectDataSource and your done. Well... sounds plausible. Never done it. Bob On Wed, 15 Oct 2008 07:53:01 -0700, Arne Garvander <ArneGarvander@discussions.microsoft.comwrote:
2
3303
by: jelle79 | last post by:
Hi all, I'm storing all kind of data stored in objects. Now I want to query my data-source. And I thought LINQ is the right thing for it. Data is stored like: store.Database Queries like this work:
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10076
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9144
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6851
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4297
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 we have to send another system
3
2990
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.