We’ll start this course by looking at LINQ to Entities, which lets you write SQL-like statements against entity objects using syntax built into C# and Visual Basic. Although you’re likely to use LINQ for every day application development with Entity Framework, you can also use Entity SQL, which is a powerful SQL-like querying language built into Entity Framework. Then, we’ll take a brief look at querying using the EntityClient API, which is a low-level option that lets you access raw data streams but requires you to materialize your own objects to receive the results. Next you’ll learn how to update existing entities, insert new entities, and delete entities, as well as get object state information.
Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.
This course assumes that you are experienced with relational database design and programming concepts. Entity Framework is all about data access, and the course doesn’t spend any time on data fundamentals. You’ll also need a good understanding of object-oriented programming in C#, so that you know how to use the entity data objects that Entity Framework generates from your data model. You’ll also need to have a working knowledge of Language INtegrated Queries (LINQ) in C#. The course uses Entity Framework with various SQL Server databases, so you should know enough about SQL Server to know how to perform various tasks and be able to connect to a database. But you don’t need deep knowledge of SQL Server to use Entity Framework productively. You should have already viewed the Entity Framework 6.1: Data Model course before taking this course.
Meet the expert
Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.
Time to complete
Overview of Query Options (17:20)
Executing LINQ to Entities (16:33)
Introduction LINQ to Entities (23:08)
LINQ to Entities-Projections (17:36)
Querying Related (16:44)
Aggregates and Grouping (12:41)
Entity SQL (11:37)
Entity Client API (11:03)
Entities and Saving Data (26:34)