Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Using EdmGen06 with remote PostgreSQL Database #3

@vladsavostin

Description

@vladsavostin

Hi,
I have a PostgreSQL database on remote host ant I'm trying to generate db-first model for that database. Unfortunately when I tried to use standart EdmGen by Microsoft I've obtained an error:

no pg_hba.conf entry for host:<my_address>, user , database "postgres"

(my database's name is other and was specified in connection string), SSL off. I tried to change SSL value of connection string, but it did not help.
EdmGen06 allowed me to generate .edmx, .csdl, .msl, .ssdl files, but VS could not generate classes from this files, also EdmGen inValidateArtifacts mode generates the following error messages:
error 0019: name of each item in a class EntityContainer must be unique. Element with name already defined.
When I'm trying to open .edmx in VS with ADO.NET Entity Data Model Designermore errors about multiply definition of an element appear

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions