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 »
I am not sure that the correct term is "static" data - it seems to be known as seeding, which is the term I »
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 »
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\ »
I have witnessed this error quite a few times in my career. I see it every time there is something wrong with the network in a »
In this post I show how to select and cast values from a column containing JSON so that you can work with the fields as you »
It is quite easy to give SQL a hint on which index to use for a query. I will however, start by warning you: this is »
If you are on this page you likely got an error similar to the following: Msg 4901, Level 16, State 1, Line 8 ALTER TABLE only »
I recently had an odd experience with a select statement. It was a very simple select statement hitting a unique index on a varchar column. But »