Blog Posts tagged with 'efcore'

Getting Started with ASP.NET Core MVC and EF Core

I walk you through developing an ASP.NET Core MVC Web Application with Entity Framework Core and SQLite using EF Core Migrations on macOS using Visual Studio Code. The application also shows how to use ASP.NET Core Dependency Injection to inject a custom DbContext into a service responsible for fetching data from SQLite.

Read More

EF Core Migrations

Use EF Core Migrations to create the initial migration for the SQLite Database used in the Getting Started with Entity Framework Core and SQLite Tutorial. This example introduces two new dependencies: Microsoft.EntityFrameworkCore.Tools and Microsoft.EntityFrameworkCore.Design, as well as the dotnet ef migrations add and dotnet ef database update commands.

Read More

Entity Framework Core Example Using SQLAlchemy

Taking the example code I wrote with Entity Framework Core and C# and performing the same O/R Mapping and SQL Commands using SQLAlchemy and Python to perform CRUD operation on a SQLite Database.

Read More

Getting Started with Entity Framework Core and SQLite

In this example I will create a .NET Core Console Application that uses Entity Framework Core to create a SQLite Database and perform various CRUD operations. Later I will add EF Core and SQLite to the ASP.NET Core Web API Reminder Service.

Read More