PostgresSingleton 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package PostgresSingleton --version 1.0.0                
NuGet\Install-Package PostgresSingleton -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="PostgresSingleton" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PostgresSingleton --version 1.0.0                
#r "nuget: PostgresSingleton, 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 PostgresSingleton as a Cake Addin
#addin nuget:?package=PostgresSingleton&version=1.0.0

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

//string to connect to DB string dbStringConnection = "Server=SERVERADDRESS;User Id=USERNAME;Password=ULTRASECURITYPASS;Database=YOUDEFAULTDATABASE;";

//RETRYNG DATA FROM DB string query = "SELECT * FROM table"; DataTable returnDB = SingletonDB.query(query, dbStringConnection);

if (returnDB.Rows.Count > 0) { foreach (DataRow gateway in returnDB.Rows) { Gateway add = new Gateway(); add.id = Convert.ToInt32(gateway["id"]); add.ip = gateway["ip"].ToString(); add.ipsecundario = gateway["ipsecundario"].ToString(); add.titulo = gateway["titulo"].ToString(); add.porta = Convert.ToInt32(gateway["porta"]); add.timeout = Convert.ToInt32(gateway["timeout"]); add.status = Convert.ToInt32(gateway["status"]); add.aguardando = Convert.ToInt32(gateway["aguardando"]); add.mensagem = gateway["mensagem"].ToString(); add.dbStringConnection = dbStringConnection; lista.Add(add); } }

//WRITING DATA TO DB query = "INSERT INTO table VALUES(values)"; try { SingletonDB.execute(query, dbStringConnection); } catch (Exception error) { Console.WriteLine("Fail: " + error.Message); }

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
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