You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite doing exactly as in the lecture about the AudiCars and the custom mapped property "YearAndMonth", I get a rare error which I can't even solve from SOF or Google.
It is :
InvalidOperationException: Null TypeMapping in Sql Tree
I tried also to remove the sorting from the LINQ Query in case something with my dates is not ok, but problem remains
Here is where it happens.
The BOLD lines of code are marked where error happens. I attached a full copy of the stack to this issue
`RPM.Services.Data.Cars.CarService.GetTopCars(int count) in CarService.cs
`
You successfully demonstrated how it happens. I just need a clue what could cause this on my side..
I also created manually 2 Cars and several CarModels from MSSMS and this is how I was replicating what you demonstrated. But with no success.
Side note: It works on my side as per your demonstration with the automapping up until the custom mapping example.
Hi Niki,
Despite doing exactly as in the lecture about the AudiCars and the custom mapped property "YearAndMonth", I get a rare error which I can't even solve from SOF or Google.
It is :
InvalidOperationException: Null TypeMapping in Sql Tree
I tried also to remove the sorting from the LINQ Query in case something with my dates is not ok, but problem remains
Here is where it happens.
The BOLD lines of code are marked where error happens. I attached a full copy of the stack to this issue
`RPM.Services.Data.Cars.CarService.GetTopCars(int count) in CarService.cs
RPM.Web.Controllers.HomeController.Index() in HomeController.cs
`
You successfully demonstrated how it happens. I just need a clue what could cause this on my side..
I also created manually 2 Cars and several CarModels from MSSMS and this is how I was replicating what you demonstrated. But with no success.
Side note: It works on my side as per your demonstration with the automapping up until the custom mapping example.
Null_TypeMapping.txt
The text was updated successfully, but these errors were encountered: