About 27,200 results
Open links in new tab
  1. Microsoft SQL Server Database Provider - EF Core

    Apr 7, 2025 · This database provider allows Entity Framework Core to be used with Microsoft SQL Server (including Azure SQL and Azure Synapse Analytics). The provider is maintained as part of the Entity Framework Core Project. Install. Install the Microsoft.EntityFrameworkCore.SqlServer NuGet package.

  2. .NET 6.0 - Connect to SQL Server with Entity Framework Core

    Mar 18, 2022 · This post shows goes through the steps to connect a .NET 6 API to SQL Server using Entity Framework Core, and automatically create/update the SQL Server database from code using EF Core migrations.

  3. Connect an ASP.NET Core app to SQL Server using .NET Aspire and Entity

    Mar 4, 2025 · In this tutorial, you create an ASP.NET Core app that uses a .NET Aspire Entity Framework Core SQL Server integration to connect to SQL Server to read and write support ticket data. Entity Framework Core is a lightweight, extensible, open source object-relational mapper that enables .NET developers to work with databases using .NET objects.

  4. Entity Framework getting an sql connection - Stack Overflow

    There's probably a way to do what you want directly in EF without the need for the actual SqlConnection. In EF5 (changed for EF6) the following would return the connection: If you are using EF in a right way you will probably never need to get inner db connection. I used next code to getting connection (Entity Framework 5.0):

  5. Step-by-Step Guide to Entity Framework in .NET | by Lucas …

    Oct 20, 2023 · In this step-by-step guide, we’ll walk you through the process of installing and implementing Entity Framework in a .NET Core application. We’ll also use SQL Server as the database and show...

  6. How to connect .NET Web API with SQL Server using Entity Framework ...

    Jul 30, 2023 · In the previous article, we explored how to connect a .NET Web API with SQL Server using Entity Framework in the Database-First approach. We learned about the benefits of Entity...

  7. Net Core 8 Entity Framework with Existing Database - ASPSnippets

    Dec 9, 2024 · In this article I will explain a simple tutorial with an example, how to use Entity Framework with Existing Database in ASP.Net Core 8 (.Net Core 8). This article will explain how to configure Entity Framework and connect to SQL Server database and finally the fetched data is displayed in View in ASP.Net Core 8 (.Net Core 8) MVC.

  8. EF Core SQL Server - Learn how to install and use this provider

    Feb 22, 2023 · Unlock the power of EF Core using the SQL Server Provider. Learn how to use the microsoft sql server database and which providers to install for entity framework core.

  9. How to Connect to a Database in ASP.NET Core using Entity Framework ...

    Apr 13, 2023 · In this article, we will go through the steps to connect to a SQL Server database in an ASP.NET Core application. We will cover the following topics: We will be using Entity Framework...

  10. How can I connect to SQL server with Entity? - Stack Overflow

    I'm following a tutorial (http://www.asp.net/mvc/overview/getting-started/introduction/accessing-your-models-data-from-a-controller) And in there he's using SQL server localdb. This is my first try with MVC. Last project I did with asp and had no trouble connecting to the database (which runs on a different server)

  11. Some results have been removed