EF Core has powerful options to map your domain model to a relational database. In this article, I’ll show you how to use the Fluent API to configure a hierarchy of generic classes to map to a single table, and to convert a collection to a store a single string in the database. #dotnet #efcore Continue reading EF Core Mapping with TpH, Generic Types and Value Conversion
Running MySQL in a Docker container, and accessing it from EF Core Continue reading Using MySQL in a Docker container with EF Core
Temporal tables keep changes of updates and deletes with specific tables. This is a feature of SQL Server since SQL Server 2016. Without using this feature from SQL Server, with EF Core often the behavior when saving objects was overridden to keep the data in the database. With updates from EF Core 6 and using SQL Server (including SQL Azure), just a few lines of code are required to enable temporal tables and use this feature as shown with this article. Continue reading Temporal Tables with EF Core 6
The new edition of my book is available – covering .NET, C#, WinUI, ASP.NET Core, EF Core, and more! Compared to the previous edition, it not only covers the newest editions of C# and .NET, you don’t have to carry a book with 1500 pages – the number of pages have been reduced – but I made sure that all the important topics are covered, you shouldn’t miss anything important topics needed to develop applications with .NET, C#, and Microsoft Azure. Continue reading Professional C# and .NET – 2021 Edition
This Microsoft Build 2020 conference was very different from all the previous ones as a digital experience event because of the COVID-19 Coronavirus. Microsoft made it a great experience – with announcements on Microsoft Azure, .NET 5, Windows, and more.
Here’s my view with a summary of announcements. Continue reading Microsoft Build 2020 – Highlights
After some first experiments using the EF Core provider with Azure Cosmos DB, with the second article on EF Core … Continue reading Relations with Azure Cosmos DB and EF Core
Using EF Core, references can be eager loaded, explicitly loaded, and lazy loaded. With eager loading you load references by … Continue reading Lazy Loading with EF Core
One of the new EF Core 2.1 features is seeding of data. Contrary to the older version of Entity Framework, … Continue reading Data Seeding with EF Core
Entity Framework Core (EF Core) was designed to not being a framework for only relational databases. It just takes some time to get the first non-relational providers. Now is the time.
Microsoft now has the first preview for an EF Core provider for Cosmos DB. With this I have to do my first experiments using Cosmos DB from EF Core. Continue reading First experiments using EF Core with Azure Cosmos DB
Time is running. In special I can see this how my children grow. November-2016 passed by, and it was a … Continue reading Highlights of November 2016