BannisterLake.ReaderUtils.MySqlConnector
2.2.0
dotnet add package BannisterLake.ReaderUtils.MySqlConnector --version 2.2.0
NuGet\Install-Package BannisterLake.ReaderUtils.MySqlConnector -Version 2.2.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="BannisterLake.ReaderUtils.MySqlConnector" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BannisterLake.ReaderUtils.MySqlConnector --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BannisterLake.ReaderUtils.MySqlConnector, 2.2.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 BannisterLake.ReaderUtils.MySqlConnector as a Cake Addin #addin nuget:?package=BannisterLake.ReaderUtils.MySqlConnector&version=2.2.0 // Install BannisterLake.ReaderUtils.MySqlConnector as a Cake Tool #tool nuget:?package=BannisterLake.ReaderUtils.MySqlConnector&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
.NETFramework 4.8
- MySqlConnector (>= 2.3.7)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Reduce the default connection retry delay and don't include retry parameters in connection functions.