G9DatabaseManagement.Common
1.0.0.6
dotnet add package G9DatabaseManagement.Common --version 1.0.0.6
NuGet\Install-Package G9DatabaseManagement.Common -Version 1.0.0.6
<PackageReference Include="G9DatabaseManagement.Common" Version="1.0.0.6" />
paket add G9DatabaseManagement.Common --version 1.0.0.6
#r "nuget: G9DatabaseManagement.Common, 1.0.0.6"
// Install G9DatabaseManagement.Common as a Cake Addin #addin nuget:?package=G9DatabaseManagement.Common&version=1.0.0.6 // Install G9DatabaseManagement.Common as a Cake Tool #tool nuget:?package=G9DatabaseManagement.Common&version=1.0.0.6
Introduction
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.
Getting Started
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
- Installation process
- Software dependencies
- Latest releases
- API references
Build and Test
TODO: Describe and show how to build your code and run the tests.
Contribute
TODO: Explain how other users and developers can contribute to make your code better.
If you want to learn more about creating good readme files then refer the following guidelines. You can also seek inspiration from the below readme files:
/* ------------------------------------------------
* Database config
* ------------------------------------------------ */
// Add database context
builder.Services.AddDbContext<G9ADatabaseContextInitializer, MyDatabase>();
// Add config for backup background service
builder.Services.AddSingleton(configuation.DatabaseConfiguration.BackupServiceConfig);
// Add the background service to DI
// Register the backup service with constructor injection
builder.Services.AddHostedService(serviceProvider =>
{
var logger = serviceProvider.GetRequiredService<ILogger<G9CSQLServerDatabaseBackupBackgroundService>>();
var config = serviceProvider.GetRequiredService<G9DtBackupServiceConfig>();
return new G9CSQLServerDatabaseBackupBackgroundService(serviceProvider, logger, config);
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- G9AssemblyManagement (>= 1.4.5.21)
- Microsoft.EntityFrameworkCore (>= 9.0.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 9.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on G9DatabaseManagement.Common:
Package | Downloads |
---|---|
G9DatabaseManagement.SqlServer
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.