Npgsql Adds Support For Visual Studio Data Designer
Written by Kay Ewbank   
Tuesday, 09 September 2014

The latest release of Npgsql also adds improvements for Entity Framework and support for Postgre 9.4’s JSONB data type.

Npgsql is a .Net Data Provider for Postgresql that you can use from any program developed for the .Net framework to access the Postrgre database server.

Npgsql 2.2.0 overcomes a major drawback of the earlier version, which you couldn’t make accessible from Visual Studio because it didn’t support DDEX. There’s a tutorial on Github showing the steps you need to use Npgsql with DDEX. The developers are working on an EXE installer for Npgsql, which will provide an easier route.

Another improvement in the new version is support for the JSONB data type. This was introduced in Postgresql 9.4, and improves the way Postrgre handles data in JSON format. When PostgreSQL added support for ‘standard’ JSON, it meant the relational database could deal with data that would otherwise be handled by NoSQL systems. JSONB stores such data in a binary format, giving a better performance and features such as indexing. It is seen as the future for JSON data. The current version of Npgsql also supports JSON and HStore data types, so you can work with all three in .NET applications.

Support for Entity Framework 6 features is also included in this release. Support for EFMigration and database creation has been added, and the new version of Npgsql now lets you create Code First projects without having to first create a database. The way relational expressions, column references, and column name aliasing are handled have been fixed so that queries no longer fail. Handling of joins has also been improved so that if a name clash occurs, Npgsql now creates an alias.

Date functions are another area that has improved, with correctly functioning DateDiff functions. Operator precedence has also been made to work correctly for postfix, prefix and binary.

Support for GSSAPI on Windows has been added, so it’s easier to use Active Directory when authenticating users, and the final major improvement is full SSLStream support.

npgsqlsq

More Information

Npgsql

Npgsql on Open Hub

Related Articles

PostgreSQL 9.3 Released

RAD Studio XE6

 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

Banner


Highlights Of The Europe 2024 PostgreSQL Conference
22/11/2024

This year's premium conference for PostgreSQL took place in Athens, Greece between October 22-25. The nice Athenian weather and cultural aspect aside, the conference was a big hit too.



Raspberry Pi CM5 - Expensive And Undocumented
27/11/2024

So the unexpected has happened - the Compute Module 5 has been launched. But it simply emphasises some problems with adopting the Pi as an IoT device.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 09 September 2014 )