Effortlessly produce data-driven applications for .NET to address the competing demands of data storage and data modeling with Entity Framework
Data access is an integral part of any software application. Entity Framework provides a model-based system that makes data access effortless for developers by freeing you from writing similar data access code for all of your domain models.
Mastering Entity Framework provides you with a range of options when developing a data-oriented application. Youll get started by managing the database relationships as Entity relationships and perform domain modeling using Entity Framework. You will then explore how you can reuse data access layer code such as stored procedures and table-valued functions, and perform various typical activities such as validations and error handling. Youll learn how to retrieve data by querying the Entity Data Model and understand how to use LINQ to Entities and Entity SQL to query the Entity Data Model.
What You Will Learn
Find out the benefits of using Entity Framework over plain ADO.NET
Discover various approaches of using Entity Framework such as Database First, Model First, and Code First, and also learn how to choose the best approach for a given scenario
Explore how to manage Entity relationships, implement Entity inheritance, and perform model validations
Understand how to use stored procedures and functions using Entity Framework
Familiarize yourself with domain modeling using Entity Framework
Become proficient in managing database creation and seeding dummy data in a database
Understand LINQ to Entities and Entity SQL to query data using Entity Framework
Manage concurrency and transactions using Entity Framework
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.