ASP.NET Core 入门教程 8、ASP.NET Core + Entity Framework Core 数据访问入门


一、前言

Entity Framework Core 简称为 EF Core

https://github.com/ken-io/asp.net-core-tutorial/tree/master/chapter-02

https://dev.mysql.com/downloads/mysql/

  • Windows环境

下载安装包后双击安装,一直下一步即可。

  • MacOS环境

参考:https://ken.io/note/macos-mysql8-install-config-tutorial

  • CentOS环境

参考:https://ken.io/note/centos-mysql8-setup

https://baike.baidu.com/item/IOC

  • Linq使用教程

https://docs.microsoft.com/zh-cn/dotnet/csharp/tutorials/working-with-linq

ORM框架。对应是 .NET Framework平台的 Entity Framework(EF),无论是EF还是EF Core都可以说是 .NET 平台开发效率最高的ORM框架。

https://github.com/ken-io/asp.net-core-tutorial/tree/master/chapter-08

  • 本文参考

https://docs.microsoft.com/zh-cn/ef/core
https://www.learnentityframeworkcore.com
https://mysql-net.github.io/MySqlConnector/tutorials/net-core-mvc/



本文首发于我的独立博客:https://ken.io/note/asp.net-core-tutorial-entity-framework-core-mysql