How to fix System.NullReferenceException: Object reference not set to an instance of an object.
ademclk
21
Reputation points
Mapping aggregates to database
I was mapping my aggregate roots to my database. Made 9 of them without errors but the last one I couldn't make it. Everything seems same but I couldn't figure out.
If you want to check my project files to understand what's going on ademclk/ceyehatapi
If you check my city configurations file I mapped entities like this and it worked fine. I don't know what's the problem with this one.
Help needed. If you want to check issue ademclk/ceyehatapi/issues
I opened a issue at efcore repository on Github https://github.com/dotnet/efcore/issues/30295
Developer technologies | .NET | Entity Framework Core
Developer technologies | .NET | Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
Sign in to answer