Created
August 2, 2012 23:04
-
-
Save rippinrobr/3241701 to your computer and use it in GitHub Desktop.
updated app.config file to add Npgsql as a data provider for this app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<configuration> | |
<connectionStrings> | |
<add name="hockeydb" | |
connectionString="Server=127.0.0.1;Port=5432;Database=hockeydb;User Id=demo;Password=demo;" | |
providerName="Npgsql" | |
/> | |
</connectionStrings> | |
<system.data> | |
<DbProviderFactories> | |
<add name="PostgreSQL Data Provider" invariant="Npgsql" | |
description=".Net Framework Data Provider for PostgreSQL" | |
type="Npgsql.NpgsqlFactory, Npgsql, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/> | |
</DbProviderFactories> | |
</system.data> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great, thanks.