CH.EventStore.EntityFramework 1.1.0

dotnet add package CH.EventStore.EntityFramework --version 1.1.0                
NuGet\Install-Package CH.EventStore.EntityFramework -Version 1.1.0                
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="CH.EventStore.EntityFramework" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CH.EventStore.EntityFramework --version 1.1.0                
#r "nuget: CH.EventStore.EntityFramework, 1.1.0"                
#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 CH.EventStore.EntityFramework as a Cake Addin
#addin nuget:?package=CH.EventStore.EntityFramework&version=1.1.0

// Install CH.EventStore.EntityFramework as a Cake Tool
#tool nuget:?package=CH.EventStore.EntityFramework&version=1.1.0                

CH - EventStore.EntityFramework

Event store persistence implementation using EFCore 8. Supports in-memory and SQL providers.

Description

The CH - EventStore.EntityFramework project provides an implementation of an event store using Entity Framework Core 8. This library supports both in-memory and SQL providers, making it flexible for various application environments.

Target Framework

This project targets the following framework:

  • .NET 8.0

Installation

To install the CH - EventStore.EntityFramework package, you can use the following command in the .NET CLI:

dotnet add package CH.EventStore.EntityFramework

Or via the NuGet Package Manager:

Install-Package CH.EventStore.EntityFramework

Usage

To use the event store implementation provided by this library, include the necessary namespaces in your project and configure the Entity Framework Core context to use the desired provider (in-memory or SQL).

Example

using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using CH.EventStore.EntityFramework;

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // Configure EFCore to use In-Memory database
        services.AddDbContext<EventStoreDbContext>(options =>
            options.UseInMemoryDatabase("EventStore"));

        // Or configure EFCore to use SQL Server
        services.AddDbContext<EventStoreDbContext>(options =>
            options.UseSqlServer("YourConnectionString"));

        // Add other services here
    }
}

Included Files

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Repository

For more information, visit the GitHub repository.

Authors

  • Charalambos Hadjiantoniou

Version

Current version: 1.1.0

Package Icon

Package Icon

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0 125 1/26/2025
1.0.0 1,019 11/26/2022