PostgreSQL通过亚音速 [英] PostgreSQL via subsonic

查看:87
本文介绍了PostgreSQL通过亚音速的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过SubSonic使用Postgres DB。我有简单的配置:

I try to work with my postgres DB via SubSonic. I have simple config:

<configuration>
  <connectionStrings>
    <add name="test"
      connectionString="Server=localhost;Port=5432;User Id=iliy;Password=111;Database=test;"
      providerName="Npgsql"/>
  </connectionStrings>
</configuration>

但是它不起作用。我收到找不到所需的.Net Framework数据提供程序。它可能未安装。项目中有Npgsql参考。

But it does not work. I got "Unable to find the requested .Net Framework Data Provider. It may not be installed." There is Npgsql reference in project.

出什么问题了?

推荐答案

我认为您需要更深入地研究Subsonic,使其与Postgres一起使用,因为它不知道数据库的任何数据提供程序。它带有用于MS Sql Server,MySql,SqlLite等的提供程序。

I think you need to dig a little deeper into Subsonic for it to work with Postgres, because it does not know about any data provider for the database. It comes with providers for MS Sql Server, MySql, SqlLite etc.

这篇关于PostgreSQL通过亚音速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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