entity framework - How to solve ProviderManifestToken="8.3.7" and Npgsql ProviderManifestToken="8.1.3" conflict? -


I am trying to connect to my PostgreSQL database, which is used by the entity framework unfortunately in my SSDL file in EdgeGen (or After making a model using the AdamGen 2, the provider is set to standardtoken at 8.3.7, when the current version of NPPSLL (2.0.9) has been set to 8.1.3. Excludes an exception when trying to use my entity model:

System.Data.MetadataException: The specified schema is not valid. Errors: Npgsql.NpgsqlSchema.ssdl (2,52): Error 0169: All SSDL artifacts should target the same provider. ProviderManifestToken is different from '8.1.3' "8.3.7" which was already encountered.

How to fix this problem or generate a model with ProviderManifestToken eq 8.1.3?

Please do not suggest commercial database connector, my budget will not allow this: p

  • Open your ADMX file in a text editor. Find the Adamx / Runtime / Storage MODELS / Schema element ProviderManifestToken attribute.
  • If it is set to 8.1.3, then change it to 8.3.7 and then recompile everything.

Comments