Korjn.Data.Oradb.Client
1.0.6
Suggested Alternatives
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 Korjn.Data.Oradb.Client --version 1.0.6
NuGet\Install-Package Korjn.Data.Oradb.Client -Version 1.0.6
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="Korjn.Data.Oradb.Client" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Korjn.Data.Oradb.Client" Version="1.0.6" />
<PackageReference Include="Korjn.Data.Oradb.Client" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Korjn.Data.Oradb.Client --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Korjn.Data.Oradb.Client, 1.0.6"
#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.
#addin nuget:?package=Korjn.Data.Oradb.Client&version=1.0.6
#tool nuget:?package=Korjn.Data.Oradb.Client&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Korjn.Data.Oradb.Client
appsettings.json
{
"OraClient": {
"MainDb":{
"Host": "xxx.xxx.xxx.xxx",
"Port": xxxx,
"ServiceName" : "xxxx"
"DefaultSchema": "xxxx",
"UserName": "xxxx",
"Password": "xxxx",
"MinPoolSize": 1,
"MaxPoolSize": 5,
"IncrPoolSize": 1,
"DecrPoolSize": 1,
"ConnectionLifeTime": 180,
"ConnectionTimeout": 60,
"BindParametersByName": true
},
"TestDb":{
"Host": "xxx.xxx.xxx.xxx",
"Port": xxxx,
"ServiceName" : "xxxx"
"DefaultSchema": "xxxx",
"UserName": "xxxx",
"Password": "xxxx",
"MinPoolSize": 1,
"MaxPoolSize": 5,
"IncrPoolSize": 1,
"DecrPoolSize": 1,
"ConnectionLifeTime": 180,
"ConnectionTimeout": 60,
"BindParametersByName": true
}
},
}
Service registration
using Korjn.Extensions.DependencyInjection;
...
services.AddOraClient();
...
Injection
using Korjn.Data.Oradb;
namespace DependencyInjection.Example;
public sealed class Worker : BackgroundService
{
private readonly IMessageWriter _messageWriter;
private readonly IOraClientFactory factory;
public Worker(IMessageWriter messageWriter, IOraClientFactory factory)
{
_messageWriter = messageWriter;
this.factory = factory;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
var client = factory.CreateClient("MainDb");
...
while (!stoppingToken.IsCancellationRequested)
{
_messageWriter.Write($"Worker running at: {DateTimeOffset.Now}");
await Task.Delay(1_000, stoppingToken);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Korjn.Common.Protection (>= 1.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Oracle.ManagedDataAccess.Core (>= 3.21.80)
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.1.15 | 252 | 1/13/2024 | |
1.1.14 | 200 | 12/26/2023 | |
1.1.13 | 191 | 12/6/2023 | |
1.1.12 | 179 | 11/16/2023 | |
1.1.11 | 159 | 11/16/2023 | |
1.1.10 | 157 | 11/13/2023 | |
1.1.9 | 164 | 11/13/2023 | |
1.1.8 | 155 | 11/13/2023 | |
1.1.7 | 158 | 11/11/2023 | |
1.1.6 | 161 | 11/11/2023 | |
1.1.5 | 159 | 11/11/2023 | |
1.1.4 | 161 | 11/9/2023 | |
1.1.3 | 155 | 11/9/2023 | |
1.1.2 | 167 | 11/7/2023 | |
1.1.1 | 133 | 11/7/2023 | |
1.1.0 | 180 | 10/24/2023 | |
1.0.9 | 185 | 10/23/2023 | |
1.0.8 | 183 | 10/19/2023 | |
1.0.7 | 153 | 8/16/2023 | |
1.0.6 | 262 | 3/17/2023 | |
1.0.5 | 292 | 2/24/2023 | |
1.0.4 | 288 | 2/24/2023 | |
1.0.3 | 341 | 12/7/2022 | |
1.0.2 | 321 | 12/7/2022 |