Npgsql.EntityFrameworkLegacy 2.2.0-beta1

Postgresql provider for Entity Framework 5 and below

This is a prerelease version of Npgsql.EntityFrameworkLegacy.
There is a newer version of this package available.
See the version list below for details.
Install-Package Npgsql.EntityFrameworkLegacy -Version 2.2.0-beta1
dotnet add package Npgsql.EntityFrameworkLegacy --version 2.2.0-beta1
<PackageReference Include="Npgsql.EntityFrameworkLegacy" Version="2.2.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Npgsql.EntityFrameworkLegacy --version 2.2.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Npgsql.EntityFrameworkLegacy, 2.2.0-beta1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Npgsql.EntityFrameworkLegacy as a Cake Addin
#addin nuget:?package=Npgsql.EntityFrameworkLegacy&version=2.2.0-beta1&prerelease

// Install Npgsql.EntityFrameworkLegacy as a Cake Tool
#tool nuget:?package=Npgsql.EntityFrameworkLegacy&version=2.2.0-beta1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Major highlights
Visual Studio DDEX support

Kenji Uno added support for DDEX. Now you can use Npgsql with Visual Studio data designer. This is a missing feature a lot of our users requested in the past. Kenji added a tutorial about how to use Npgsql with DDEX. You can find it here:
Entity Framework
David KarlaĆĄ added support for EFMigration and Database creation in EF6+

Now it is possible to start Code First projects without needing to create a database upfront. EntityFramework and Npgsql will take care of it.
Emil Lenngren added support for a lot of missing features of EntityFramework.

A list containing fixes from David and Emil as well as others for EntityFramework can be seen here:
SSLStream support

In this release, SSLStream is on by default.
If you want to use Mono.Security, you will need to use the following line in your code:

NpgsqlConnection.UseSslStream = false;

Note that in future releases, this option may not be available anymore as we are removing the dependency on Mono.Security assembly. Let us know in the forums if you have any problem with ssl when using SSLStream. This will help us check if we will be able to remove Mono.Security assembly.
Added support for JSON, JSONB and HSTORE datatypes

Shay added support for those datatypes.
Added GSSAPI support on Windows

Brian Crowell added support for GSSAPI on windows. [#170]
Removed support for protocol 2

Postgresql versions which use only protocol 2 are very old and don't receive support from postgresql group anymore. By removing this support, we removed a lot of code and can focus on functionalities provided by protocol 3.
Removed support for Postgresql 8.3 and below

In this thread,!topic/npgsql-dev/omQ40Eq0HoA, we talked about making Npgsql support the officially supported postgresql versions. This means end of support for postgresql 8.3 and below in the Npgsql 2.2 and up. If you still need support for 7.x, please, use 2.0.x versions.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.6 999 8/27/2015
2.2.5 2,110 3/11/2015 868 2/6/2015 687 2/3/2015
2.2.3 1,134 11/26/2014
2.2.2 1,332 11/3/2014
2.2.1 911 9/24/2014
2.2.0 1,084 9/1/2014
2.2.0-rc2 685 8/17/2014
2.2.0-rc1 701 8/5/2014
2.2.0-beta1 746 7/23/2014
2.1.3 1,225 4/9/2014
2.1.2 896 3/28/2014
2.1.1 775 3/21/2014
2.1.0 803 3/19/2014
2.1.0-rc1 674 2/10/2014
2.1.0-beta1 653 12/26/2013
Show less