Pro LINQ Object Relational Mapping in C# 2008 (eBook)

(Autor)

eBook Download: PDF
2008 | 1st ed.
408 Seiten
Apress (Verlag)
978-1-4302-0597-5 (ISBN)

Lese- und Medienproben

Pro LINQ Object Relational Mapping in C# 2008 - Vijay P. Mehta
Systemvoraussetzungen
50,28 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

This book aims to give experienced .NET developers a thorough grounding in Object Relational Mapping methodologies and show how LINQ can be used to achieve them. It provides detailed A-Z coverage of the key concepts and ideas in a clear, easy to follow, manner. The book is split into two parts. The first provides a detailed explanation of the key concepts and technologies, while the second brings them to life in a detailed fictional case study using an architecture that can be easily adapted to a wide range of reader's circumstances.



Vijay P. Mehta has been working as a software engineer and architect for the last 12 years. Starting off in the VC++/ATL, MFC, Win32, and VB6 worlds, Vijay later moved on to Java and .NET development. With his current focus on C# and .NET, Vijay holds a number of Microsoft certifications and has written a number of articles on .Net and Microsoft-focused development. Working as an architect for a financial services software company in Indianapolis, Vijay spends the bulk of his time designing and implementing large, cutting-edge software systems.
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.

Vijay P. Mehta has been working as a software engineer and architect for the last 12 years. Starting off in the VC++/ATL, MFC, Win32, and VB6 worlds, Vijay later moved on to Java and .NET development. With his current focus on C# and .NET, Vijay holds a number of Microsoft certifications and has written a number of articles on .Net and Microsoft-focused development. Working as an architect for a financial services software company in Indianapolis, Vijay spends the bulk of his time designing and implementing large, cutting-edge software systems.

Contents at a Glance 5
Contents 7
About the Author 12
About the Technical Reviewer 13
Acknowledgments 14
Introduction 15
Object-Relational Mapping Concepts 17
Getting Started with Object- Relational Mapping 18
Introduction to Object- Relational Mapping 18
Impedance Mismatch 23
Object Persistence 27
Basic ORM Approach 28
Summary 29
ORM Patterns and Domain- Driven Design 31
Domain- Driven Design 31
Object- Relational Patterns 39
Persistence Ignorance 52
Further Reading 56
Summary 57
LINQ to SQL Examined 58
Introduction to LINQ to SQL 59
What Is LINQ to SQL? 59
Understanding the Basics 60
Summary 90
Advanced LINQ to SQL 91
Debugging 91
Using Stored Procedures 93
Working with User- Defined Functions 103
Constructing Relationships, Joins, and Projections 104
Summary 122
Entity Framework Examined 123
Getting Started with the ADO. NET Entity Framework 124
What Is EF? 124
Exploring the Designer 125
Understanding the EDM 130
Using EDMGen 153
Summary 156
Using the ADO.NET Entity Framework 157
Object Services: LINQ to Entities 157
Compiled Queries 183
Summary 185
Advanced ADO.NET Entity Framework 186
Inheritance 186
Entity Client Provider 199
Stored Procedures 213
Summary 215
The Bank of Pluto Case Study 216
A Domain Model for the First Bank of Pluto 217
Requirements and Use Cases 217
The Model 222
Summary 249
Mapping the FBP 251
Creating Classes with the Object Relational Designer 251
Using Inheritance 253
Using Compiled Queries 256
Building a Foundation 257
Creating a Database 278
Working with Many- to- Many Relationships 282
Where to Go from Here 283
Summary 284
Mapping the Bank of Pluto with the ADO. NET Entity Framework 285
Persistence Ignorance/ Custom Objects 285
Mappings/ Database 300
Middle Tier/ Context Manager 307
Summary 316
Building on the Bank of Pluto Foundation 317
N-Tier Architecture 318
Why N- Tier? 318
DTOs 318
ASP. NET 338
Summary 352
LINQ to SQL, the Entity Framework, and Your Other Options 353
LTS vs. EF 353
Alternatives 357
Summary 369
Index 370

Erscheint lt. Verlag 2.9.2008
Zusatzinfo 408 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte ADO • ADO.NET • Boo • C# • LINQ • .NET • Relational Database • Scala • SQL
ISBN-10 1-4302-0597-0 / 1430205970
ISBN-13 978-1-4302-0597-5 / 9781430205975
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 3,9 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

eBook Download (2023)
Rheinwerk Computing (Verlag)
89,90
Eine kompakte Einführung

von Brendan Burns; Joe Beda; Kelsey Hightower; Lachlan Evenson

eBook Download (2023)
dpunkt (Verlag)
39,90
Mini-Refactorings für besseres Software-Design

von Kent Beck

eBook Download (2024)
O'Reilly Verlag
26,90