From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: ilker.sapan@gmail.com
Subject: BUG #17204: Import PostgreSQL view to ADO.NET Entity Framework Model
Date: Wed, 29 Sep 2021 13:42:02 +0000
Message-ID: <17204-b50062269afe347b@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17204
Logged by: ilker
Email address: ilker.sapan@gmail.com
PostgreSQL version: 13.0
Operating system: Windows Server 2019 Datacenter
Description:
I have problem on importing PostgreSQL view to ADO.NET Entity Framework
Model .edmx
I'm using Entity Framework 6.Npgsql 6.4.3, Npgsql 5.0.10 and PostgreSQL 13.0
versions.
I generated a Database and now I need to import a View inside my .edmx
designer, but the problem is that I get an exception. Because EF wasn't able
to import the view because there is no explicit key inside of it. I've tried
to add a Key column inside the view as someone else told me to do, but I got
still the error (need private key) and I did not found a solution to my
problem yet. Is there something I can do to import my view? Thanks.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, ilker.sapan@gmail.com
Subject: Re: BUG #17204: Import PostgreSQL view to ADO.NET Entity Framework Model
In-Reply-To: <17204-b50062269afe347b@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox