🍪 Privacy & Transparency

We and our partners use cookies to Store and/or access information on a device. We and our partners use data for Personalised ads and content, ad and content measurement, audience insights and product development. An example of data being processed may be a unique identifier stored in a cookie. Some of our partners may process your data as a part of their legitimate business interest without asking for consent. To view the purposes they believe they have legitimate interest for, or to object to this data processing use the vendor list link below. The consent submitted will only be used for data processing originating from this website. If you would like to change your settings or withdraw consent at any time, the link to do so is in our privacy policy accessible from our home page..

Vendor List | Privacy Policy
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 will use. »

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 'Microsoft. »

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 © 2023 Privacy policy