Beginning Entity Framework Core 2.0: Database Access from .NET

  • 3h 49m
  • Derek J. Rouleau
  • Apress
  • 2018

Use the valuable Entity Framework Core 2.0 tool in ASP.NET and the .NET Framework to eliminate the tedium around accessing databases and the data they contain.

Entity Framework Core 2.0 greatly simplifies access to relational databases such as SQL Server that are commonly deployed in corporate settings. By eliminating tedious data access code that developers are otherwise forced to use, Entity Framework Core 2.0 enables you to work directly with the data in a database through domain-specific objects and methods.

Beginning Entity Framework Core 2.0 is a carefully designed tutorial. Throughout the book you will encounter examples that you can use in your day-to-day coding, and you will build a solid foundation on which to create database-backed applications. If you are looking for a way to get started without getting buried under details you are only going to forget, then this is the book for you.

The author aims to leave you comfortably able to connect to, access, modify, and delete data from a relational database. The book provides a clear, straightforward approach and includes code that you can look back at months later and understand.

What You'll Learn

  • Study easy-to-follow, real-world examples you can use every day
  • Focus on DbContext and the Database First approach
  • Understand how to work with single and multiple tables
  • Use the LINQ query language to manipulate data

Who This Book Is For

C# and ASP.NET programmers looking for an easier way of accessing data in a relational database than writing in SQL—a way that meshes better into object-oriented application development

About the Author

Derek J. Rouleau is a Computer and Information Systems Manager for a small company in the greater Portland, Maine area. He has been working with computers since the mid 1990’s thanks to a friend’s father who got him interested in hardware and the workings of the operating system. Derek started professionally programming while working for an educational publishing and software company in the Quality Assurance department. He has been using Visual Basic since VB 6 was out, and C# since 2010. Although he now manages the department where he works, Derek still makes time each week to write code and research new and exciting technologies. When not working, he is involved with Off Track Standardbreds, and he competes in Dressage.

In this Book

  • Getting Started
  • Working with Multiple Tables
  • Stepping Beyond the Basics
  • Data Validation and POCOs
  • Stored Procedures, Table Design, and Modifications
  • ASP.NET MVC and EF Core 2.0
  • Finishing Our ASP.NET MVC .NET Core 2.0 Project
  • Wrap Up and Where to Go Next