1
votes

I want to create ADO.NET entity data model - database first (.edmx file) with EntityFramework6.Npgsql but it's error. I have installed: - EntityFramework6.Npgsql (version 6.3 newest) - Npgsql (version 4.1.1 newest) - EntityFramework (version 6.3 newest)

https://www.upsieutoc.com/images/2019/10/23/Untitledd14771b27d08a488.png

I created it before, but I don't know why now! Please help me....

1
This is error message: The type initializer for 'Npgsql.TypeMapping.GlobalTypeMapper' threw an exception. - Vĩnh Dương

1 Answers

0
votes

This is a known issue that is already tracked on github

In the meantime for those having issues with the latest version of the VSIX (4.1.1.2), please downgrade back to 4.0.x.

So downgrade your Npgsql version and extension version.