DynamixPostgreSQLHandler 1.0.0

dotnet add package DynamixPostgreSQLHandler --version 1.0.0
NuGet\Install-Package DynamixPostgreSQLHandler -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DynamixPostgreSQLHandler" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DynamixPostgreSQLHandler --version 1.0.0
#r "nuget: DynamixPostgreSQLHandler, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DynamixPostgreSQLHandler as a Cake Addin
#addin nuget:?package=DynamixPostgreSQLHandler&version=1.0.0

// Install DynamixPostgreSQLHandler as a Cake Tool
#tool nuget:?package=DynamixPostgreSQLHandler&version=1.0.0

DynamixPostgreSQLHandler

CSharp - Npgsql - PostgreSQL (Dynamic SQL Handler Library )

DynamixPostgreSQLHandler is an SQL Handler for C# built on top of Npgsql that intends to avoid the hustle of writing the same Connection code and inner lying adapter, data reader code again and again. It is targeted for rapid development and to save time while working with PostgreSQL database using CSharp as the language.

Framework

  • .NET Framework 4.5.1 +
  • Npgsql Version 3.2.7.0

Installation

Using Package Manager

Install-Package DynamixPostgreSQLHandler -Version 1.0.0

Using .NET CLI

dotnet add package DynamixPostgreSQLHandler --version 1.0.0

Sample Database

This project will be using the dvdrental database for the examples.

Setting things up

  1. Download the dvdrental.zip file from the above mentioned link
  2. Extract the zip file and obtain the dvdrental.tar file ( You can also find a copy in the scripts folder )
  3. Instantiate a database named dvdrental in your PostgreSQL Server.
  4. Execute the following code or something similar to your environment
pg_restore -U postgres -n public -d dvdrental dvdrental.tar

Here is a link that might help you to setup your database

  1. Execute the scripts found under the scripts/functions folder
  2. You are now ready to roll !!

Implementation

Check it out on GitHub For Examples

Platform

  • Windows
Product Compatible and additional computed target framework versions.
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 1,548 6/1/2018

Features such as ExecuteAsList, ExecuteAsObject added