AppAny.Quartz.EntityFrameworkCore.Migrations 0.1.5

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

// Install AppAny.Quartz.EntityFrameworkCore.Migrations as a Cake Tool
#tool nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations&version=0.1.5                

EntityFrameworkCore migrations for Quartz.NET

Nuget Integration Tests Coverage Status

This library handles schema migrations for Quartz.NET using EntityFrameworkCore migrations toolkit with one line of configuration

Installation

$> dotnet add package AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL

Supported drivers

Feel free to create as issue for driver support

Usage

# Configure DbContext
public class DatabaseContext : DbContext
{
  // ...

  protected override void OnModelCreating(ModelBuilder modelBuilder)
  {
    // Adds Quartz.NET PostgreSQL schema to EntityFrameworkCore
    modelBuilder.AddQuartz(builder => builder
      .UsePostgres()
      .UseSchema("quartz")
      .UseNoPrefix());
  }
}

# Configure Quartz.NET
storeOptions.UsePostgres(postgresOptions =>
{
  postgresOptions.UseDriverDelegate<PostgreSQLDelegate>();
  postgresOptions.ConnectionString = ...;
  postgresOptions.TablePrefix = ...;
});

Then add EntityFrameworkCore migration with Quartz.NET schema dotnet ef migrations add AddQuartz and:

  • Add in-process migration using databaseContext.Database.MigrateAsync()
  • Add out-of-process migration using dotnet ef database update
  • Extract SQL for your migration tool dotnet ef migrations script PreviousMigration AddQuartz
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on AppAny.Quartz.EntityFrameworkCore.Migrations:

Package Downloads
AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL

EntityFrameworkCore PostgreSQL migrations for Quartz.NET

AppAny.Quartz.EntityFrameworkCore.Migrations.SqlServer

EntityFrameworkCore SQL migrations for Quartz.NET

AppAny.Quartz.EntityFrameworkCore.Migrations.MySql

EntityFrameworkCore MySql migrations for Quartz.NET

AppAny.Quartz.EntityFrameworkCore.Migrations.SQLite

EntityFrameworkCore SQLite migrations for Quartz.NET

Shinya.Scheduling.Quartz.Plugins.EntityFrameworkCoreMigrations

Shinya.Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.1 478,786 4/29/2024
0.5.0 240,344 1/8/2024
0.4.0 344,798 1/1/2023
0.3.0 18,446 12/15/2022
0.2.0 758 12/15/2022
0.1.18 576 12/10/2022
0.1.17 50,872 1/21/2022
0.1.16 2,940 12/14/2021
0.1.15 3,727 7/24/2021
0.1.14 234 5/30/2021
0.1.13 833 4/28/2021
0.1.12 357 4/12/2021
0.1.11 263 4/12/2021
0.1.10 3,516 3/29/2021
0.1.9 401 3/26/2021
0.1.8 872 2/26/2021
0.1.7 1,462 2/16/2021
0.1.6 519 2/16/2021
0.1.5 408 2/16/2021
0.1.4 1,489 1/24/2021
0.1.3 574 1/23/2021