Skip to content

Instantly share code, notes, and snippets.

@meyerovb
Last active August 29, 2015 14:14
Show Gist options
  • Save meyerovb/9d8163aa6756da5b0de1 to your computer and use it in GitHub Desktop.
Save meyerovb/9d8163aa6756da5b0de1 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<connectionStrings>
<add name="DataEntities" connectionString="Server=127.0.0.1;Port=5432;Database=testdb;User Id=test;Password=test;" providerName="Npgsql"/>
</connectionStrings>
<entityFramework>
<defaultConnectionFactory type="Npgsql.NpgsqlConnectionFactory, Npgsql" />
<providers>
<provider invariantName="Npgsql" type="Npgsql.NpgsqlServices, Npgsql.EntityFramework" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="Npgsql" />
<add name="Npgsql Data Provider" invariant="Npgsql" support="FF" description=".Net Framework Data Provider for Postgresql" type="Npgsql.NpgsqlFactory, Npgsql, Version=2.2.3.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