iPlus.EntityFrameworkCore
9.0.7
See the version list below for details.
Requires NuGet 3.6 or higher.
dotnet add package iPlus.EntityFrameworkCore --version 9.0.7
NuGet\Install-Package iPlus.EntityFrameworkCore -Version 9.0.7
<PackageReference Include="iPlus.EntityFrameworkCore" Version="9.0.7" />
<PackageVersion Include="iPlus.EntityFrameworkCore" Version="9.0.7" />
<PackageReference Include="iPlus.EntityFrameworkCore" />
paket add iPlus.EntityFrameworkCore --version 9.0.7
#r "nuget: iPlus.EntityFrameworkCore, 9.0.7"
#:package iPlus.EntityFrameworkCore@9.0.7
#addin nuget:?package=iPlus.EntityFrameworkCore&version=9.0.7
#tool nuget:?package=iPlus.EntityFrameworkCore&version=9.0.7
Entity Framework Core (EF Core) is a modern object-database mapper that lets you build a clean, portable, and high-level data access layer with .NET (C#) across a variety of databases, including SQL Server (on-premises and Azure), SQLite, MySQL, PostgreSQL, Oracle, and Azure Cosmos DB. It supports LINQ queries, change tracking, updates, and schema migrations.
Getting started
Prerequisites
Make sure to install the same version of all EF Core packages shipped by Microsoft. For example, if version 5.0.3 of Microsoft.EntityFrameworkCore.SqlServer is installed, then all other Microsoft.EntityFrameworkCore.* packages must also be at 5.0.3.
Usage
To use Microsoft.EntityFrameworkCore in your application, you will typically need to create a class that inherits from DbContext, which represents your database session. You can then define classes that represent your database entities, and use LINQ queries to interact with the database.
Here's an example of how you might define a database context and an entity:
using Microsoft.EntityFrameworkCore;
public class MyDbContext : DbContext
{
public DbSet<Customer> Customers { get; set; }
}
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
}
You can then use the MyDbContext class to interact with the database:
using var context = new MyDbContext();
// Add a new customer
context.Customers.Add(new Customer { Name = "John Doe" });
context.SaveChanges();
// Retrieve all customers
var customers = context.Customers.ToList();
Microsoft.EntityFrameworkCore supports multiple database providers, including SQL Server, MySQL, PostgreSQL, SQLite, and others. You will need to install the provider package for your chosen database. For example, to use SQL Server, you would install the Microsoft.EntityFrameworkCore.SqlServer package.
You would then configure your database context to use the SQL Server provider:
using Microsoft.EntityFrameworkCore;
public class MyDbContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder options)
=> options.UseSqlServer(@"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=MyDatabase");
public DbSet<Customer> Customers { get; set; }
}
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
}
Additional documentation
- Getting Started with Entity Framework Core.
- Follow the ASP.NET Core Tutorial to use EF Core in a web app.
- Releases and planning(roadmap)
- How to write an EF Core provider
Feedback
If you have a specific question about using these projects, we encourage you to ask it on Stack Overflow. If you encounter a bug or would like to request a feature, submit an Github issue. For more details, see getting support.
| Product | Versions 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. net10.0 was computed. 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. |
-
net8.0
- iPlus.EntityFrameworkCore.Abstractions (>= 9.0.7)
- iPlus.EntityFrameworkCore.Analyzers (>= 9.0.7)
- Microsoft.Extensions.Caching.Memory (>= 9.0.7)
- Microsoft.Extensions.Logging (>= 9.0.7)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on iPlus.EntityFrameworkCore:
| Package | Downloads |
|---|---|
|
iPlus.EntityFrameworkCore.Relational
iPlus Fork of ef core main repository |
|
|
iPlus.EntityFrameworkCore.Proxies
iPlus Fork of ef core main repository |
|
|
iPlus.EntityFrameworkCore.InMemory
iPlus Fork of ef core main repository |
|
|
iPlus.EntityFrameworkCore.Specification.Tests
iPlus Fork of ef core main repository |
|
|
iPlus.EntityFrameworkCore.Cosmos
iPlus Fork of ef core main repository |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-dev | 54 | 3/5/2026 |
| 9.0.7 | 80 | 3/5/2026 |