EFCore.TemporalSupport
Support of Temporal functionality for EF Core
Install / Use
/learn @cpoDesign/EFCore.TemporalSupportREADME
EFCore.TemporalSupport
An implementation of temporal support for EF Core.
Build version
Badges
|Badge type| Current status|
| --- | --- |
|Build status| |
|NuGet|
|
|Open Cover|
|
|DepShield Badge|
Guide
The following package supports the following methods:
- AddAsTemporalTable
- RemoveAsTemporalTable
These are used to add Temporal support to a specific table. Recommendation is to add a new migration file for instance:
public partial class <InsertYourDate>_addtemporalsupport : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.EnsureSchema(name: <SchemaName>);
migrationBuilder.AddAsTemporalTable(<TableName>, <SchemaName>);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.EnsureSchema(name: <SchemaName>);
migrationBuilder.RemoveAsTemporalTable(this.TargetModel.FindEntityType(typeof(<ModelType).Name), <SchemaName>);
}
}
Related Skills
openhue
350.1kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
350.1kElevenLabs text-to-speech with mac-style say UX.
weather
350.1kGet current weather and forecasts via wttr.in or Open-Meteo
casdoor
13.3kAn open-source AI-first Identity and Access Management (IAM) /AI MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
