ismkdc.MongoDB.EntityFrameworkCore 11.0.0

dotnet add package ismkdc.MongoDB.EntityFrameworkCore --version 11.0.0
                    
NuGet\Install-Package ismkdc.MongoDB.EntityFrameworkCore -Version 11.0.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="ismkdc.MongoDB.EntityFrameworkCore" Version="11.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ismkdc.MongoDB.EntityFrameworkCore" Version="11.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ismkdc.MongoDB.EntityFrameworkCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ismkdc.MongoDB.EntityFrameworkCore --version 11.0.0
                    
#r "nuget: ismkdc.MongoDB.EntityFrameworkCore, 11.0.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.
#:package ismkdc.MongoDB.EntityFrameworkCore@11.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ismkdc.MongoDB.EntityFrameworkCore&version=11.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ismkdc.MongoDB.EntityFrameworkCore&version=11.0.0
                    
Install as a Cake Tool

ismkdc.MongoDB.EntityFrameworkCore

Unofficial build of the MongoDB EF Core provider with EF Core 11 / .NET 11 support. Not affiliated with, endorsed by, or supported by MongoDB, Inc.

Use the official MongoDB.EntityFrameworkCore package unless you specifically need EF Core 11 support.

Install

dotnet add package ismkdc.MongoDB.EntityFrameworkCore --version 11.0.0

Targets net11.0; depends on Microsoft.EntityFrameworkCore 11.0.0 and MongoDB.Driver 3.13.0.

Usage

using Microsoft.EntityFrameworkCore;
using MongoDB.EntityFrameworkCore.Extensions;

var options = new DbContextOptionsBuilder<MyContext>()
    .UseMongoDB("mongodb://localhost:27017", "mydb")
    .Options;

public class MyContext(DbContextOptions<MyContext> options) : DbContext(options)
{
    public DbSet<Book> Books => Set<Book>();

    protected override void OnModelCreating(ModelBuilder modelBuilder)
        => modelBuilder.Entity<Book>().ToCollection("books");
}

Support

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.0 132 11/10/2026