Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen
Beschreibung
Take a developer journey that paves the way to enterprise-level database access from .NET and C# using the object-relational mapper (ORM) of choice. This second edition is revised to cover Entity Framework Core 5 and 6 (EF) and includes new content on table-per-type mapping, LINQ improvements (filtered includes), many-to-many navigation changes, split queries, simple logging using the DBCommandInterceptor, and other improvements available in EF Core 6. Real-world examples and considerations are presented in this book to help you create robust and efficient database solutions. Throughout the text, actual problems, questions, and common pitfalls are provided to help you recognize optimal solutions for maximum success in the different application scenarios you might encounter.

Practical Entity Framework Core 6 focuses on the code first approach to developing a database. Taking the code first approach allows the entire database to be built and maintained in code using EF Core 6 so there is never a situation in which you cannot restore the database schema. Additionally, the code first approach creates an entirely transparent record of changes to the database that is easily tracked in source control systems such as GitHub. Emphasis throughout the book is on leaving you well positioned to architect and lead data development efforts for your organization.What You Will LearnBuild robust and maintainable databases using a code first approachCreate and execute stored procedures, triggers, and functionsAnalyze and optimize performance of database queriesEnsure data integrity through keys, constraints, and relationshipsEncrypt your database columns at rest with TDE and Always-On Encryption Leverage the FluentAPI and attributes for entity configuration
Who This Book Is For
.NET developers who work with enterprise-level applications and need to interact with data structures and data within the back end data store, developers who want to take a code first approach to building database applications to prevent conflicts and optimize efficiency, and those who are moving into full-stack roles, or into senior and architectural roles, and will be responsible for database design and implementation
Take a developer journey that paves the way to enterprise-level database access from .NET and C# using the object-relational mapper (ORM) of choice. This second edition is revised to cover Entity Framework Core 5 and 6 (EF) and includes new content on table-per-type mapping, LINQ improvements (filtered includes), many-to-many navigation changes, split queries, simple logging using the DBCommandInterceptor, and other improvements available in EF Core 6. Real-world examples and considerations are presented in this book to help you create robust and efficient database solutions. Throughout the text, actual problems, questions, and common pitfalls are provided to help you recognize optimal solutions for maximum success in the different application scenarios you might encounter.

Practical Entity Framework Core 6 focuses on the code first approach to developing a database. Taking the code first approach allows the entire database to be built and maintained in code using EF Core 6 so there is never a situation in which you cannot restore the database schema. Additionally, the code first approach creates an entirely transparent record of changes to the database that is easily tracked in source control systems such as GitHub. Emphasis throughout the book is on leaving you well positioned to architect and lead data development efforts for your organization.What You Will LearnBuild robust and maintainable databases using a code first approachCreate and execute stored procedures, triggers, and functionsAnalyze and optimize performance of database queriesEnsure data integrity through keys, constraints, and relationshipsEncrypt your database columns at rest with TDE and Always-On Encryption Leverage the FluentAPI and attributes for entity configuration
Who This Book Is For
.NET developers who work with enterprise-level applications and need to interact with data structures and data within the back end data store, developers who want to take a code first approach to building database applications to prevent conflicts and optimize efficiency, and those who are moving into full-stack roles, or into senior and architectural roles, and will be responsible for database design and implementation
Inhaltsverzeichnis
Introduction.- Part I. Getting Started.- 1. Introduction to Entity Framework.- 2. Working with an Existing Database.- 3. Entity Framework: Code First.- Part II. Building the Data Solution.- 4. Models and the Data Context.- 5. Constraints, Keys, and Relationships.- 6. Data Access (Create, Read, Update, Delete).- 7. Stored Procedures, Views, and Functions.- 8. Sorting, Filtering, and Paging.- Part III. Enhancing the Data Solution.- 9. LINQ for Queries and Projections.- 10. Encryption of Data.- 11. Repository and Unit of Work Patterns.- 12. Unit Testing, Integration Testing, and Mocking.- 13. Asynchronous Data Operations and Multiple Database Contexts.- Part IV. Recipes for Success.- 14. .NET 5 and EFCore5.- 15. .NET 6 and EF Core 6.- 16. Appendix A: Troubleshooting.
Details
Genre: Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
ISBN-13: 9781484273005
ISBN-10: 1484273001
Sprache: Englisch
Herstellernummer: 978-1-4842-7300-5
Autor: Gorman, Brian L.
Auflage: 2. Aufl.
Hersteller: Apress
Springer, Berlin
Verantwortliche Person für die EU: Springer Nature Customer Service Center GmbH, Europaplatz 3, D-69115 Heidelberg, productsafety@springernature.com
Abbildungen: XXIX, 797 p. 449 illus.
Maße: 47 x 179 x 256 mm
Von/Mit: Brian L. Gorman
Erscheinungsdatum: 02.12.2021
Gewicht: 1,53 kg
Artikel-ID: 120293410