Mastering Entity Framework Core 2.0 by Prabhakaran Anbazhagan

Mastering Entity Framework Core 2.0 by Prabhakaran Anbazhagan

Author:Prabhakaran Anbazhagan
Language: eng
Format: mobi, epub, pdf
Tags: COM021000 - COMPUTERS / Databases / General, COM051440 - COMPUTERS / Software Development and Engineering / Tools, COM051470 - COMPUTERS / Programming Languages / ASP .NET
Publisher: Packt
Published: 2017-12-15T06:35:57+00:00


Let's dig in further and see what is happening internally and how Entity Framework is processing these queries. We might be thinking that EF Core would be retrieving blog entries and does a LINQ query with in-memory data. The following SQL Server Profiler trace will prove us wrong. If we closely watch the highlighted part of the trace, it is evident that Entity Framework is performing a LINQ to an SQL query by translating the LINQ query into the required SQL query and executing it in one shot in the database. Cool, right? The following screenshot would illustrate that the parameterised execution is translated into SQL statement:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.