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
I am in the process of upgrading a huge working project from Entity Framework Core 7 to version 8, which utilizes a significant number of INpgsqlArrayConverter instances to store various types of data in PostgreSQL arrays. We also make use of Jsonb, but we do not like the idea to migrate all of our existing data.
One of the converters we have been using is shown below:
However, when attempting to create a migration, we encounter the following error:
Unable to create a 'DbContext' of type 'TestContext'. The exception 'The 'Dictionary<string, List>' property 'TestEntity.AllowedTransitions' could not be mapped because the database provider does not support this type.
Personally, I find the old implementation far superior as it aligns seamlessly with the PostgreSQL way of working.
Any assistance or guidance would be greatly appreciated.
Regards,
Michele.
The text was updated successfully, but these errors were encountered:
I am in the process of upgrading a huge working project from Entity Framework Core 7 to version 8, which utilizes a significant number of INpgsqlArrayConverter instances to store various types of data in PostgreSQL arrays. We also make use of Jsonb, but we do not like the idea to migrate all of our existing data.
One of the converters we have been using is shown below:
Now the result code is something like:
repro code gist
However, when attempting to create a migration, we encounter the following error:
Personally, I find the old implementation far superior as it aligns seamlessly with the PostgreSQL way of working.
Any assistance or guidance would be greatly appreciated.
Regards,
Michele.
The text was updated successfully, but these errors were encountered: