LINQ.for.Visual.C.Sharp.2005.Jan.2007.pdf
(
2385 KB
)
Pobierz
374092655 UNPDF
LINQ
for
INTRODUCTION
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
CHAPTER 1
LINQ to Objects
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
CHAPTER 2
LINQ to ADO.NET
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
CHAPTER 3
LINQ to XML
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
127
Fabio Claudio Ferracchiati
Visual C# 2005
About firstPress
Apress's
firstPress
series is your source for understanding cutting-edge technology. Short,
highly focused, and written by experts, Apress's firstPress books save you time and effort. They
contain the information you could get based on intensive research yourself or if you were to
attend a conference every other week––if only you had the time. They cover the concepts and
techniques that will keep
you
ahead of the technology curve. Apress's firstPress books are real
books, in your choice of electronic or print-on-demand format, with no rough edges even
when the technology itself is still rough. You can't afford to be without them.
LINQ for Visual C# 2005
Dear Reader,
Are you ready for the future of data access in .NET?
At the Microsoft Professional Developers Conference (PDC) 2005, Microsoft previewed a
new technology, Language-Integrated Query (LINQ). It captured a lot of attention because it
addressed the fundamental issue of merging object-oriented applications with relational data.
The LINQ Project team demonstrated how to use LINQ to query a variety of data sources, such
as a SQL Server database, an XML file, and an array, and how to manage the data using an
object-oriented approach.
I fell in love at first sight. I started to study LINQ closely, analyzing the source code pro-
vided on the conference's DVD and writing a lot of code myself. When the LINQ May 2006
Community Technology Preview (CTP) was released and I saw how mature and stable LINQ
had become, I decided to write this book. I read the official documentation and found it really
well done, but the enormous amount of information was split across too many documents. I
thought it would be useful to have a single text combining the essential LINQ concepts with
practical examples.
And that's what I wrote: a comprehensive guide to the three main parts of the LINQ May
2006 CTP: managing in-memory data (LINQ to Objects), accessing relational databases (LINQ
to ADO.NET), and manipulating XML documents (LINQ to XML). Each chapter offers many
practical examples that you can try yourself with the downloadable source code. My goal is
that you'll quickly learn everything you want and need to know about LINQ by actually
using
LINQ.
I hope you'll enjoy my book and that it will make you as enthusiastic about LINQ as I am
while we wait for its formal release. The future of .NET data access is already here––and it's a
very bright one!
Ciao,
Fabio Claudio Ferracchiati
MCSD.NET
LINQ for Visual C# 2005
FABIO CLAUDIO FERRACCHIATI
LINQ for Visual C# 2005
Copyright © 2006 by Fabio Claudio Ferracchiati
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13: 978-1-4302-0257-8
ISBN-10: 1-4302-0257-2
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: James Huddleston
Technical Reviewer: Vidya Vrat Agarwal
Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick,
Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft, Jim Sumser,
Keir Thomas, Matt Wade
Project Manager: Kylie Johnston
Copy Edit Manager: Nicole Flores
Copy Editor: Candace English
Assistant Production Director: Kari Brooks-Copony
Compositor: Richard Ables
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail
orders-
ny@springer-sbm.com
,
or
visit
http://www.springeronline.com
.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley,
CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail
info@apress.com
,
or visit
http://www.apress.com
.
The information in this book is distributed on an “as is” basis, without warranty. Although every precau-
tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any
liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly
or indirectly by the information contained in this work.
The source code for this book is available to readers at
http://www.apress.com
in
the Source Code/
Download section.
To Simona: “Tu ed io per sempre”––05/08/2005
Plik z chomika:
sentinell
Inne pliki z tego folderu:
20 Great Google Secrets.txt
(8 KB)
250+ Tech books online.txt
(23 KB)
23 Ways To Speed WinXP, Not only Defrag.txt
(10 KB)
36 Graphics & Design Ebooks.txt
(3 KB)
2600 Hertz Single Tone Generator Schematic.txt
(1 KB)
Inne foldery tego chomika:
Adobe After Effects projekty
Android
AUDI
criss2992
Dokumenty
Zgłoś jeśli
naruszono regulamin