[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10395":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},10395,"efcore","dotnet\u002Fefcore","dotnet","EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.","https:\u002F\u002Flearn.microsoft.com\u002Fef\u002F",null,"C#",14684,3385,862,2375,0,11,43,4,45,"MIT License",false,"main",[25,26,27,28,29,30,31,32,33],"aspnet-product","c-sharp","database","dotnet-core","dotnet-framework","dotnet-standard","entity-framework","hacktoberfest","orm","2026-06-12 02:02:21","# Repository\n\n[![build status](https:\u002F\u002Fimg.shields.io\u002Fazure-devops\u002Fbuild\u002Fdnceng-public\u002Fpublic\u002F17\u002Fmain)](https:\u002F\u002Fdev.azure.com\u002Fdnceng-public\u002Fpublic\u002F_build?definitionId=17) [![test results](https:\u002F\u002Fimg.shields.io\u002Fazure-devops\u002Ftests\u002Fdnceng-public\u002Fpublic\u002F17\u002Fmain)](https:\u002F\u002Fdev.azure.com\u002Fdnceng-public\u002Fpublic\u002F_build?definitionId=17)\n\nThis repository is home to the following [.NET Foundation](https:\u002F\u002Fdotnetfoundation.org\u002F) projects. These projects are maintained by [Microsoft](https:\u002F\u002Fgithub.com\u002Fmicrosoft) and licensed under the [MIT License](LICENSE.txt).\n\n* [Entity Framework Core](#entity-framework-core)\n* [Microsoft.Data.Sqlite](#microsoftdatasqlite)\n\n## \u003Cimg alt=\"EF\" src=\".\u002Flogo\u002Fef-logo.png\" width=\"32\"\u002F> Entity Framework Core\n\n[![latest version](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fv\u002FMicrosoft.EntityFrameworkCore)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.EntityFrameworkCore) [![preview version](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fvpre\u002FMicrosoft.EntityFrameworkCore)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.EntityFrameworkCore\u002FabsoluteLatest) [![downloads](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fdt\u002FMicrosoft.EntityFrameworkCore)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.EntityFrameworkCore)\n\nEF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MariaDB, MySQL, PostgreSQL, and other databases through a provider plugin API.\n\n### Installation\n\nEF Core is available on [NuGet](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.EntityFrameworkCore). Install the provider package corresponding to your target database. See the [list of providers](https:\u002F\u002Fdocs.microsoft.com\u002Fef\u002Fcore\u002Fproviders\u002F) in the docs for additional databases.\n\n```sh\ndotnet add package Microsoft.EntityFrameworkCore.SqlServer\ndotnet add package Microsoft.EntityFrameworkCore.Sqlite\ndotnet add package Microsoft.EntityFrameworkCore.Cosmos\n```\n\nUse the `--version` option to specify a [preview version](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.EntityFrameworkCore\u002FabsoluteLatest) to install.\n\n### Daily builds\n\nWe recommend using the [daily builds](docs\u002FDailyBuilds.md) to get the latest code and provide feedback on EF Core. These builds contain latest features and bug fixes; previews and official releases lag significantly behind.\n\n### Basic usage\n\nThe following code demonstrates basic usage of EF Core. For a full tutorial configuring the `DbContext`, defining the model, and creating the database, see [getting started](https:\u002F\u002Fdocs.microsoft.com\u002Fef\u002Fcore\u002Fget-started\u002F) in the docs.\n\n```cs\nusing var db = new BloggingContext();\n\n\u002F\u002F Inserting data into the database\ndb.Add(new Blog { Url = \"http:\u002F\u002Fblogs.msdn.com\u002Fadonet\" });\ndb.SaveChanges();\n\n\u002F\u002F Querying\nvar blog = db.Blogs\n    .OrderBy(b => b.BlogId)\n    .First();\n\n\u002F\u002F Updating\nblog.Url = \"https:\u002F\u002Fdevblogs.microsoft.com\u002Fdotnet\";\nblog.Posts.Add(\n    new Post\n    {\n        Title = \"Hello World\",\n        Content = \"I wrote an app using EF Core!\"\n    });\ndb.SaveChanges();\n\n\u002F\u002F Deleting\ndb.Remove(blog);\ndb.SaveChanges();\n```\n\n### Build from source\n\nMost people use EF Core by installing pre-built NuGet packages, as shown above. Alternatively, [the code can be built and packages can be created directly on your development machine](.\u002Fdocs\u002Fgetting-and-building-the-code.md).\n\n### Contributing\n\nWe welcome community pull requests for bug fixes, enhancements, and documentation. See [How to contribute](.\u002F.github\u002FCONTRIBUTING.md) for more information.\n\n### Getting support\n\nIf you have a specific question about using these projects, we encourage you to [ask it on Stack Overflow](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fentity-framework-core*?tab=Votes). If you encounter a bug or would like to request a feature, [submit an issue](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fefcore\u002Fissues\u002Fnew\u002Fchoose). For more details, see [getting support](.github\u002FSUPPORT.md).\n\n## Microsoft.Data.Sqlite\n\n[![latest version](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fv\u002FMicrosoft.Data.Sqlite)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.Data.Sqlite) [![preview version](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fvpre\u002FMicrosoft.Data.Sqlite)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.Data.Sqlite\u002FabsoluteLatest) [![downloads](https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fdt\u002FMicrosoft.Data.Sqlite.Core)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.Data.Sqlite)\n\nMicrosoft.Data.Sqlite is a lightweight ADO.NET provider for SQLite. The EF Core provider for SQLite is built on top of this library. However, it can also be used independently or with other data access libraries.\n\n### Installation\n\nThe latest stable version is available on [NuGet](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.Data.Sqlite).\n\n```sh\ndotnet add package Microsoft.Data.Sqlite\n```\n\nUse the `--version` option to specify a [preview version](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.Data.Sqlite\u002FabsoluteLatest) to install.\n\n### Daily builds\n\nWe recommend using the [daily builds](docs\u002FDailyBuilds.md) to get the latest code and provide feedback on Microsoft.Data.Sqlite. These builds contain the latest features and bug fixes; previews and official releases lag significantly behind.\n\n### Basic usage\n\nThis library implements the common [ADO.NET](https:\u002F\u002Fdocs.microsoft.com\u002Fdotnet\u002Fframework\u002Fdata\u002Fadonet\u002F) abstractions for connections, commands, data readers, and so on. For more information, see [Microsoft.Data.Sqlite](https:\u002F\u002Fdocs.microsoft.com\u002Fdotnet\u002Fstandard\u002Fdata\u002Fsqlite\u002F) on Microsoft Docs.\n\n```cs\nusing var connection = new SqliteConnection(\"Data Source=Blogs.db\");\nconnection.Open();\n\nusing var command = connection.CreateCommand();\ncommand.CommandText = \"SELECT Url FROM Blogs\";\n\nusing var reader = command.ExecuteReader();\nwhile (reader.Read())\n{\n    var url = reader.GetString(0);\n}\n```\n\n### Build from source\n\nMost people use Microsoft.Data.Sqlite by installing pre-built NuGet packages, as shown above. Alternatively, [the code can be built and packages can be created directly on your development machine](.\u002Fdocs\u002Fgetting-and-building-the-code.md).\n\n### Contributing\n\nWe welcome community pull requests for bug fixes, enhancements, and documentation. See [How to contribute](.\u002F.github\u002FCONTRIBUTING.md) for more information.\n\n### Getting support\n\nIf you have a specific question about using these projects, we encourage you to [ask it on Stack Overflow](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fmicrosoft.data.sqlite). If you encounter a bug or would like to request a feature, [submit an issue](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fefcore\u002Fissues\u002Fnew\u002Fchoose). For more details, see [getting support](.github\u002FSUPPORT.md).\n\n## See also\n\n* [Documentation](https:\u002F\u002Fdocs.microsoft.com\u002Fef\u002Fcore\u002F)\n* [Roadmap](https:\u002F\u002Fdocs.microsoft.com\u002Fef\u002Fcore\u002Fwhat-is-new\u002Froadmap)\n* [Weekly status updates](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fefcore\u002Fissues\u002F23884)\n* [Release planning process](https:\u002F\u002Fdocs.microsoft.com\u002Fef\u002Fcore\u002Fwhat-is-new\u002Frelease-planning)\n* [How to write an EF Core provider](https:\u002F\u002Fdocs.microsoft.com\u002Fef\u002Fcore\u002Fproviders\u002Fwriting-a-provider)\n* [Security](.\u002Fdocs\u002Fsecurity.md)\n* [Code of conduct](.github\u002FCODE_OF_CONDUCT.md)\n","Entity Framework Core (EF Core) 是一个针对 .NET 平台的现代对象-数据库映射工具。它支持 LINQ 查询、变更跟踪、数据更新以及模式迁移等功能，能够与 SQL Server、SQLite、Azure Cosmos DB 等多种数据库系统协同工作。EF Core 通过提供者插件API实现了对不同数据库的支持，使得开发者可以根据需要选择合适的数据库服务。适用于需要高效处理数据库操作的各种.NET应用程序开发场景，如Web应用后端、桌面软件或任何需要数据库交互的项目。",2,"2026-06-11 03:28:10","top_topic"]