Npgsql is a .Net data provider for Postgresql. It allows any program developed for .Net framework to access a Postgresql database server. It is implemented in 100% C# code. Postgresql versions since 9.0 are officially supported, others may work.