BannisterLake.ReaderUtils.MySqlConnector 2.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package BannisterLake.ReaderUtils.MySqlConnector --version 2.1.2                
NuGet\Install-Package BannisterLake.ReaderUtils.MySqlConnector -Version 2.1.2                
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="BannisterLake.ReaderUtils.MySqlConnector" Version="2.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BannisterLake.ReaderUtils.MySqlConnector --version 2.1.2                
#r "nuget: BannisterLake.ReaderUtils.MySqlConnector, 2.1.2"                
#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 BannisterLake.ReaderUtils.MySqlConnector as a Cake Addin
#addin nuget:?package=BannisterLake.ReaderUtils.MySqlConnector&version=2.1.2

// Install BannisterLake.ReaderUtils.MySqlConnector as a Cake Tool
#tool nuget:?package=BannisterLake.ReaderUtils.MySqlConnector&version=2.1.2                

Bannister Lake - Reader Utils .Net Framework

ReaderUtils is a library of functions to help create apps that push data into a Chameleon instance. This package uses MySqlConnector to connect to the database.

Get System Preferences from a Flow instance

FlowConnect flow = new(flowUrl);
FlowPrefs = await flow.GetPreferences();
string serverName = FlowPrefs.GetValue("DBLocation");
string port = FlowPrefs.GetValue("DBPort");
string dbName = FlowPrefs.GetValue("DBName");

Setup and Use a Database Connection

MySqlDbHelper mySqlDb = new(serverName, port, dbName, userid, password);

using (var conn = await mySqlDb.GetConnectionAsync()) {	
  ChannelDAO channelDAO = new(conn);
  Dictionary<uint, string> channels = await channelDAO.GetChannels(c.ContentGroupId);
}
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  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
2.2.0 109 6/6/2024
2.1.2 122 4/22/2024
2.0.0 111 4/18/2024

Uses MySqlConnector 2.3.7