LINQ for Visual C#
Год выпуска: 2008
Автор: Fabio Claudio Ferracchiati
Жанр: Програмирование
Издательство: Appress
ISBN: 1430215801
Формат: PDF
Качество: eBook (изначально компьютерное)
Страниц: 197
Описание:
Every C# programmer needs to learn about LINQ (Language–lIntegrated Query), Microsoft’s breakthrough technology for simplifying and unifying data access from any data source. With LINQ you can write more elegant and flexible code not just to access databases and files but to manipulate data structures and XML. This book is a short yet comprehensive guide to the major features of LINQ and the significant enhancements introduced with .NET 3.5. There is no better source for getting a head–start on the future of these technologies than this book. - A clear and comprehensive yet concise introduction to using LINQ in C# - Covers LINQ to Objects, LINQ to SQL, LINQ to DataSet, and LINQ to XML - Rich in working examples of LINQ in action - Ideal for C# programmers at any level
http://www.amazon.com/exec/obidos/tg/detail/-/1430215801/Pro LINQ: Language Integrated Query in C#
#777
Год выпуска: 2007
Автор: Jr., Joseph C. Rattz
Жанр: Програмирование
Издательство: Appress
ISBN: 1590597893
Формат: PDF
Качество: eBook (изначально компьютерное)
Страниц: 624
Описание:
LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must-have skill for .NET developers. For more information about LINQ, you can check out the author's portal at
www.linqdev.com. Pro LINQ: Language Integrated Query in C# 2008 is all about code. Literally, this book starts with code and ends with code. In most books, the author shows the simplest example demonstrating how to use a method, but they so rarely show how to use the more complex prototypes. Pro LINQ: Language Integrated Query in C# 2008 is different. Demonstrating the overwhelming majority of LINQ operators and protoypes, it is a veritable treasury of LINQ examples. Rather than obscure the relevant LINQ principles in code examples by focusing on a demonstration application you have no interest in writing, Pro LINQ: Language Integrated Query in C# 2008 cuts right to the chase of each LINQ operator, method, or class. However, where complexity is necessary to truly demonstrate an issue, the examples are right there in the thick of it. For example, code samples demonstrating how to handle concurrency conflicts actually create concurrency conflicts so you can step through the code and see them unfold. Most books tell you about the simple stuff, while few books warn you of the pitfalls. Where Pro LINQ: Language Integrated Query in C# 2008 returns your investment is in the hours, and sometimes days, spent by the author determining why something may not work as expected. Sometimes this results in an innocent looking paragraph that may take you a minute to read and understand, but took days to research and explain. Face it, most technical books while informative, are dull. LINQ need not be dull. Written with a sense of humor, Pro LINQ: Language Integrated Query in C# 2008 will attempt to entertain you on your journey through the wonderland of LINQ and C# 2008.
What you'll learn
-How to leverage all the new LINQ relevant C# 2008 language features including extension methods, lambda expressions, anonymous data types, and partial methods.
- How to use LINQ to Objects to query in-memory data collections such
as arrays, ArrayLists, and Lists to retrieve the data you want.
- Why some queries are deferred, how a deferred query can bite you,
and how you can make deferred queries work for you.
- How to use LINQ to XML to revolutionize your creation, manipulation,
and searching of XML data.
- How to query DataSets with LINQ to DataSet so you can co-exist with
legacy code and use LINQ to query databases other than SQL Server.
- How to query Databases with LINQ to SQL, write your own entity
classes, and understand how to handle concurrency conflicts.
http://www.amazon.com/exec/obidos/tg/detail/-/1590597893/Pro LINQ Object Relational Mapping in C#
Год выпуска: 2008
Автор: Vijay P. Mehta
Жанр: Програмирование
Издательство: Appress
ISBN: 1590599659
Формат: PDF
Качество: eBook (изначально компьютерное)
Страниц: 405
Описание:
It is nearly impossible today to write enterprise software without the
use of one or more relational databases. Granted, there are cases when
the data is transient and not stored in a database, but for the most
part, software needs to consume and manipulate data in a database. It
sounds easy, but there are hundreds of ways to connect software systems
to databases and thousands of people who think they have the skeleton
key for data access layers. Pro LINQ Object Relational Mapping in C#
2008 explains an efficient, repeatable way to apply industry design
patterns to build scalable object–oriented data access layers. Object
relational mapping (OR/M) has been a gray area in Microsoft development
for many years. It’s not that Microsoft language developers don’t
understand OR/M; in fact, the opposite is true, as is exemplified by the
glut of third–party .NET OR/M tools on the market. The struggle has come
more from the lack of native tools with the object–oriented and object
persistence capacity to effectively work in this arena. With the
inception of .NET, Microsoft overcame the first obstacle by developing
an object–oriented environment and framework. The second obstacle, the
native object persistence layer, is only now being realized with the
introduction of Language Integrated Query (LINQ) and LINQ’s children,
the Language Integrated Query for Relational Databases (LINQ to SQL) and
the Language Integrated Query for the ADO.NET Entity Framework (LINQ to
Entities). The gray area no longer exists, and the .NET developers of
the world finally have the native tools required to build modular,
reusable data access layers.
What you’ll learn
- The powerful advantages that OR/M can bring to your code
- The native tools that are now available within Visual Studio 2008
for OR/M
- How to build scalable object–oriented data access layers that take
advantage of OR/M’s flexibility
- How LINQ fits into this picture, together with the advantages and
disadvantages that it can bring
- How the concepts work in the real world by examining a fully worked
and detailed case study, created with an architecture than can be easily
applied to a wide range of other situations
http://www.amazon.com/exec/obidos/tg/detail/-/1590599659/LINQ in Action
Год выпуска: 2008
Автор: FABRICE MARGUERIE, STEVE EICHERT, JIM WOOLEY
Жанр: Програмирование
Издательство: Manning
ISBN: 1933988169
Формат: PDF
Качество: eBook (изначально компьютерное)
Страниц: 572
Описание:
LINQ, Language INtegrated Query, is a new extension to the Visual Basic
and C# programming languages designed to simplify data queries and
database interaction. It addreses O/R mapping issues by making query
operations like SQL statements part of the programming language. It also
offers built-in support for querying in-memory collections like arrays
or lists, XML, DataSets, and relational databases. LINQ in Action is a
fast-paced, comprehensive tutorial for professional developers. This
book explores what can be done with LINQ, shows how it works in an
application, and addresses the emerging best practices. It presents the
general purpose query facilities offered by LINQ in the upcoming C# 3.0
and VB.NET 9.0 languages. A running example introduces basic LINQ
concepts. You'll then learn to query unstructured data using LINQ to XML
and relational data with LINQ to SQL. Finally, you'll see how to extend
LINQ for custom applications. LINQ in Action will guide you along as you
explore this new world of lambda expressions, query operators, and
expression trees. As well, you'll explore the new features of C# 3.0,
VB.NET 9.0. The book is very practical, anchoring each new idea with
running code. Whether you want to use LINQ to query objects, XML
documents, or relational databases, you will find all the information
you need to get started But LINQ in Action does not stop at the basic
code. This book also shows you how LINQ can be used for advanced
processing of data, including coverage of LINQ's extensibility, which
allows querying more data sources than those supported by default. All
code samples are built on a concrete business case. The running example,
LinqBooks, is a personal book cataloging system that shows you how to
create LINQ applications with Visual Studio 2008.
http://www.amazon.com/exec/obidos/tg/detail/-/1933988169/LINQ Pocket Reference
Год выпуска: 2008
Автор: Joseph Albahari; Ben Albahari
Жанр: Програмирование
Издательство: Oreilly
ISBN: 0596519249
Формат: CHM
Качество: eBook (изначально компьютерное)
Страниц: 172
Описание:
Ready to take advantage of LINQ with C# 3.0? This guide has the detail
you need to grasp Microsoft's new querying technology, and concise
explanations to help you learn it quickly. And once you begin to apply
LINQ, the book serves as an on-the-job reference when you need immediate
reminders. All the examples in the LINQ Pocket Reference are preloaded
into LINQPad, the highly praised utility that lets you work with LINQ
interactively. Created by the authors and free to download, LINQPad will
not only help you learn LINQ, it will have you thinking in LINQ. This
reference explains: LINQ's key concepts, such as deferred execution,
iterator chaining, and type inference in lambda expressions The
differences between local and interpreted queries C# 3.0's query syntax
in detail-including multiple generators, joining, grouping, query
continuations, and more Query syntax versus lambda syntax, and mixed
syntax queries Composition and projection strategies for complex queries
All of LINQ's 40-plus query operators How to write efficient LINQ to SQL
queries How to build expression trees from scratch All of LINQ to XML's
types and their advanced use LINQ promises to be the locus of a thriving
ecosystem for many years to come. This small book gives you a huge head
start. "The authors built a tool (LINQPad) that lets you experiment with
LINQ interactively in a way that the designers of LINQ themselves don't
support, and the tool has all kinds of wonderful features that LINQ, SQL
and Regular Expression programmers alike will want to use regularly long
after they've read the book." -Chris Sells, Connected Systems Program
Manager, Microsoft
http://www.amazon.com/exec/obidos/tg/detail/-/0596519249/LINQ Quickly
Год выпуска: 2007
Автор: N Satheesh Kumar
Жанр: Програмирование
Издательство: Packt Publishing
ISBN: 1847192548
Формат: PDF
Качество: eBook (изначально компьютерное)
Страниц: 250
Описание:
This book gets you started with LINQ and shows how it will make your
programming life easier by making use of new features from the .NET
Framework 3.0. This book is split into seven chapters, each of which is
dedicated to presenting a feature of LINQ and its usage in real-life
scenarios. Language Integrated Query (LINQ) is a new feature in Visual
Studio 2008 that extends its query capabilities, using C# and Visual
Basic. Visual Studio 2008 comes with LINQ provider assemblies that
enable the use of LINQ with data sources such as in-memory collections,
SQL relational databases, ADO.NET Datasets, XML documents, etc. In
Visual Studio 2008, Visual C# and Visual Basic are the languages that
implement the LINQ language extensions. LINQ language extensions use the
new standard query operators API, which is the query language for any
collection that implements IEnumerable<T>.
http://www.amazon.com/exec/obidos/tg/detail/-/1847192548/LINQ Unleashed: for C#
Год выпуска: 2008
Автор: Paul Kimmel
Жанр: Програмирование
Издательство: Sams
ISBN: 0672329832
Формат: PDF
Качество: eBook (изначально компьютерное)
Страниц: 545
Описание:
Foreword by Darryl Hogan, Architect Evangelist, Microsoft Corporation
Microsoft’s highly anticipated LINQ query technology makes it easy to
retrieve any information programmatically from any data source, no
matter where it comes from or how it’s stored. Using LINQ, developers
can query objects, relational databases, XML documents, and ADO.NET
datasets--and do it all directly from C# 3.0, leveraging the powerful
capabilities of LINQ.
This is a definitive guide to getting real-world results with LINQ,
using C# 3.0 and Visual Studio 2008. In LINQ Unleashed, Microsoft MVP
Paul Kimmel covers every facet of LINQ programming, showing how LINQ can
help you dramatically improve your productivity and build more reliable,
maintainable applications.
Kimmel begins by reviewing the state-of-the-art C# programming
techniques LINQ uses, including anonymous types, partial methods, and
Lambda expressions. Next, using realistic examples and easy-to-adapt
sample code, he details the most powerful new LINQ techniques for
accessing objects, databases, and XML. You’ll gain a deep and practical
understanding of how LINQ works “under the hood”--and learn how to do
everything from selecting data through integrating XML with other data
models.
- Build efficient LINQ queries to .NET objects, SQL databases, and XML
content
- Utilize anonymous types to reduce design time, coding effort, and
debugging time
- Automatically generate .NET state machines with the new yield return
construct
- Master LINQ query syntax, operators, extension methods, sorting,
grouping, aggregate and set operations, and more
- Make the most of select--and use it in the business layer of your
n-tier applications
- Query relational data stored in Microsoft SQL Server
- Use nullable types to eliminate unnecessary database access plumbing
code
- Use LINQ with ADO.NET 3.0 and Microsoft’s powerful new Entity
Framework
- Extract XML data without the hassles or complexity of XPath
- Automatically construct XML from CSV files and other non-XML data
- Query Active Directory by extending LINQ
http://www.amazon.com/exec/obidos/tg/detail/-/0672329832/