About this project
EF Core is a modern object-database mapper (ORM) for .NET, maintained by Microsoft under the .NET Foundation and licensed under MIT. It maps .NET objects to relational and non-relational databases and provides LINQ query translation, change tracking, updates, and schema migrations.
Database support is broad: SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MariaDB, MySQL, and PostgreSQL are covered, with additional databases reachable through a provider plugin API. Packages are distributed on NuGet; you install the provider package matching your target database, for example Microsoft.EntityFrameworkCore.SqlServer, Microsoft.EntityFrameworkCore.Sqlite, or Microsoft.EntityFrameworkCore.Cosmos. Preview versions can be selected with the --version option, and daily builds are published for users who want the newest features and fixes ahead of official releases.
Typical usage centers on a DbContext subclass. The README shows adding an entity, calling SaveChanges, querying with LINQ (OrderBy, First), updating properties and related collections, and removing entities, all through the same context. A full tutorial covering context configuration, model definition, and database creation is linked in the documentation.
The repository also hosts Microsoft.Data.Sqlite, a lightweight ADO.NET provider for SQLite. The EF Core SQLite provider is built on top of it, but the library can be used independently or with other data access libraries. It implements the common ADO.NET abstractions for connections, commands, and data readers, as illustrated by a short example that opens a SqliteConnection, creates a command, and reads rows.
Both projects can be built from source on a development machine as an alternative to consuming pre-built NuGet packages. Community contributions for bug fixes, enhancements, and documentation are welcomed through the contributing guide. Support channels include Stack Overflow for usage questions and GitHub issues for bugs and feature requests. Additional resources listed include documentation, roadmap, weekly status updates, release planning, guidance on writing an EF Core provider, security notes, and a code of conduct.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.