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
It seems that the implementation of IRepository.Delete used ModelExtensions Class, which is marked obsolete in .NET 6. So, deleting an entity will trigger exceptions and result in failure.
...
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.ModelExtensions' from assembly 'Microsoft.EntityFrameworkCore, Version=7.0.8.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
...
Since no source code provided, it would be nice if you could make a quick fix for this. 🥹
The text was updated successfully, but these errors were encountered:
It seems that the implementation of
IRepository.Delete
used ModelExtensions Class, which is marked obsolete in .NET 6. So, deleting an entity will trigger exceptions and result in failure.Since no source code provided, it would be nice if you could make a quick fix for this. 🥹
The text was updated successfully, but these errors were encountered: