Tickwork.EntityFrameworkCore
1.1.1
dotnet add package Tickwork.EntityFrameworkCore --version 1.1.1
NuGet\Install-Package Tickwork.EntityFrameworkCore -Version 1.1.1
<PackageReference Include="Tickwork.EntityFrameworkCore" Version="1.1.1" />
<PackageVersion Include="Tickwork.EntityFrameworkCore" Version="1.1.1" />
<PackageReference Include="Tickwork.EntityFrameworkCore" />
paket add Tickwork.EntityFrameworkCore --version 1.1.1
#r "nuget: Tickwork.EntityFrameworkCore, 1.1.1"
#:package Tickwork.EntityFrameworkCore@1.1.1
#addin nuget:?package=Tickwork.EntityFrameworkCore&version=1.1.1
#tool nuget:?package=Tickwork.EntityFrameworkCore&version=1.1.1
Tickwork.EntityFrameworkCore
Entity Framework Core persistence for Tickwork: time jobs, cron jobs, their occurrences and their history in your own database - PostgreSQL, SQL Server, SQLite or MySQL.
dotnet add package Tickwork.EntityFrameworkCore
builder.Services.AddTickwork(options =>
options.AddOperationalStore(ef =>
ef.UseTickworkDbContext<TickworkDbContext>(db => db.UseNpgsql(connectionString))));
Or keep the tables in your own DbContext with
ef.UseApplicationDbContext<AppDbContext>(ConfigurationType.UseModelCustomizer). The tables are in
the ticker schema unless SetSchema names another.
The schema is the one TickerQ 10.4.0 created: a TickerQ database needs no migration.
Tickwork is forked from TickerQ 10.4.0 by Arcenox LLC and is not affiliated with it. MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. net11.0 is compatible. |
-
net10.0
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.13)
- Tickwork.Utilities (>= 1.1.1)
-
net11.0
- Microsoft.EntityFrameworkCore.Relational (>= 11.0.0-rc.2.26504.105)
- Tickwork.Utilities (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.1.1 - fixes a 1.1.0 regression in stopping the host. The scheduler's StopAsync no longer throws ObjectDisposedException when the host is stopped after it was disposed (as a WebApplicationFactory harness does at teardown), and tolerates being called more than once and concurrently. A stop whose token is cancelled still freezes the scheduler and stops the loop instead of throwing. Disposing while the loop is acquiring tickers no longer reports an ObjectDisposedException as a host exception. 1.1.0 -reliability fixes, same database schema. A ticker the fallback took over while it was queued is no longer run a second time (Queued to InProgress is a compare-and-set on the node's lock). Stopping the host no longer freezes the task scheduler between acquiring tickers and queueing them. A cancellation request no longer disposes the source of the execution still running, and an ending execution no longer removes a newer registration of the same ticker. Requests persisted before compression was switched on or off are read either way. The EF Core queries that load children and grandchildren run as one query (AsSingleQuery), which removes warning 20504. README: the generic host's UseTickwork, and the SQLite schema warning. Adapted from TickerQ fixes up to b2aefd0.