在postgresql中的“EF with designer”向导之后没有生成EDMX图 [英] No EDMX diagram generated after “EF with designer” wizard in postgresql

查看:94
本文介绍了在postgresql中的“EF with designer”向导之后没有生成EDMX图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用EntityFramework6.npgsql我正在创建带有数据库的EF设计器,它没有显示任何错误,但edmx文件中没有图表。还会发生许多参考丢失错误。生成EF与设计师后附加图像



我尝试过:



我试图改变dll文件的思路

解决方案

请参考:

Fanda的开发博客:带有实体框架6的Npgsql [ ^ ]

PostgreSQL和实体框架6代码优先 - 学习代码 [ ^ ]



Quote:

因为Npgsql不支持架构创建,你必须创建数据库手动和你c使用此行来跳过架构迁移和创建/更新。


I am working with EntityFramework6.npgsql I am creating "EF designer with database", It does not show any error but no diagram present in the edmx file. Also lots of "reference missing" errors occur. Image is attached after generating "EF with designer"

What I have tried:

I have tried to change versins of dll files also

解决方案

Please, refer this:
Fanda's development blog: Npgsql with Entity Framework 6[^]
PostgreSQL and Entity Framework 6 Code First – Learning to Code[^]

Quote:

Because Npgsql doesn't support schema creation, you must create database manually and you can use this line to skip schema migrations and creation/updates.


这篇关于在postgresql中的“EF with designer”向导之后没有生成EDMX图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆