SingleStoreConnector 1.0.1
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SingleStoreConnector --version 1.0.1
NuGet\Install-Package SingleStoreConnector -Version 1.0.1
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="SingleStoreConnector" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SingleStoreConnector --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SingleStoreConnector, 1.0.1"
#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 SingleStoreConnector as a Cake Addin #addin nuget:?package=SingleStoreConnector&version=1.0.1 // Install SingleStoreConnector as a Cake Tool #tool nuget:?package=SingleStoreConnector&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
SingleStoreConnector is an ADO.NET data provider for SingleStore.
How to Use
// set these values correctly for your database server
var builder = new SingleStoreConnectionStringBuilder
{
Server = "your-server",
UserID = "database-user",
Password = "P@ssw0rd!",
Database = "database-name",
};
// open a connection asynchronously
using var connection = new SingleStoreConnection(builder.ConnectionString);
await connection.OpenAsync();
// create a DB command and set the SQL statement with parameters
using var command = connection.CreateCommand();
command.CommandText = @"SELECT * FROM orders WHERE order_id = @OrderId;";
command.Parameters.AddWithValue("@OrderId", orderId);
// execute the command and read the results
using var reader = await command.ExecuteReaderAsync();
while (reader.Read())
{
var id = reader.GetInt32("order_id");
var date = reader.GetDateTime("order_date");
// ...
}
Key Features
- Full support for async I/O
- High performance
- Supports .NET Framework, .NET Core, and .NET 5.0+
Main Types
The main types provided by this library are:
SingleStoreConnection
(implementation ofDbConnection
)SingleStoreCommand
(implementation ofDbCommand
)SingleStoreDataReader
(implementation ofDbDataReader
)SingleStoreBulkCopy
SingleStoreBulkLoader
SingleStoreConnectionStringBuilder
SingleStoreConnectorFactory
SingleStoreDataAdapter
SingleStoreException
SingleStoreTransaction
(implementation ofDbTransaction
)
Feedback
SingleStoreConnector is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- System.Diagnostics.DiagnosticSource (>= 5.0.1)
-
.NETFramework 4.5
- System.Buffers (>= 4.5.1)
- System.Diagnostics.DiagnosticSource (>= 5.0.1)
- System.Memory (>= 4.5.4)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETFramework 4.6.1
- System.Buffers (>= 4.5.1)
- System.Diagnostics.DiagnosticSource (>= 5.0.1)
- System.Memory (>= 4.5.4)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETFramework 4.7.1
- System.Buffers (>= 4.5.1)
- System.Diagnostics.DiagnosticSource (>= 5.0.1)
- System.Memory (>= 4.5.4)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETStandard 2.0
- System.Buffers (>= 4.5.1)
- System.Diagnostics.DiagnosticSource (>= 5.0.1)
- System.Memory (>= 4.5.4)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETStandard 2.1
- System.Diagnostics.DiagnosticSource (>= 5.0.1)
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SingleStoreConnector:
Package | Downloads |
---|---|
EntityFrameworkCore.SingleStore
SingleStore database provider for Entity Framework Core. |
|
SqlKata.HotChocolatePipeline
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.