---
title: "Swimburger - Blog - SQL Server"
description: "Swimburger.net is a blog about .NET, cloud, web development, and whatever comes across Swimburger's plate. Swimburger.net is run by Niels Swimberghe."
canonical: "https://swimburger.net/blog/sql-server"
---

[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0x0.5/media/5oantfjq/vs-screenshot-of-ef-raw-sql-query-square.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0x0.5/media/5oantfjq/vs-screenshot-of-ef-raw-sql-query-square.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0x0.5/media/5oantfjq/vs-screenshot-of-ef-raw-sql-query-square.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0x0.5/media/5oantfjq/vs-screenshot-of-ef-raw-sql-query-square.png 500w" sizes="250px" width="250" height="250" alt="Screenshot of Visual Studio with EF Raw SQL Code" decoding="async" loading="lazy" style="background-color:#2d2d30"></picture>

## Querying data using raw SQL & Stored Procedures in Entity Framework Core

10/21/2019 - .NET

When LINQ queries can't meet the performance requirements of your application, you can leverage Raw SQL and still have EF map the data to concrete .NET objects. You can also invoke Stored Procedures in case the logic of the SQL queries need to reside in the SQL Database.



](/blog/dotnet/querying-data-using-raw-sql-stored-procedures-in-entity-framework-core)
