Home Tags Privacy About

All posts tagged with "Entity Framework"

A collection of 5 posts tagged with "Entity Framework"

Page 1 of 1

C# - Entity Framework handling Migrate() when deploying old versions of code

Some code bases use the .Migrate() or .MigrateAsync() to upgrade their databases to the newest version. Using .Migrate() with no additional parameters upgrades the database to »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Entity Framework 25 October 2022

Entity framework - How to add static data using data seeding

I am not sure that the correct term is "static" data - it seems to be known as seeding, which is the term I »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework, C#, MSSQL 10 April 2022

Entity framework - How to set the connection string of the DbContext

It seems that every guide I find on Entity framework, the database connectionString is fetched from the config file magically. I wanted to inject it instead »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework, MSSQL 09 April 2022

Entity framework - Unable to create an object of type <type>. For the different patterns supported at design time see <link>

Today I was trying to make an initial migration using Entity framework. I encountered an error when calling dotnet ef migrations add InitialCreate: C:\Users\peter\ »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework, C#, MSSQL 05 April 2022

Entity framework - "dotnet ef migrations" returns "The framework 'Microsoft.NETCore.App', version '2.0.0' (x64) was not found." error

When calling dotnet ef migrations add you might experience the following the error: It was not possible to find any compatible framework version The framework ' »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Entity Framework 03 April 2022
Page 1 of 1
  • Rss
  • Twitter
  • LinkedIn
  • profile for Peter Rasmussen at Stack Overflow, Q&A for professional and enthusiast programmers
Peter Daugaard Rasmussen - developer, Consultant, Blogger © 2025 Privacy policy