.Net Core 3.1连接MySql数据库
1.使用Nuget安装Pomelo.EntityFrameworkCore.MySql 注意,使用MySql.Data.EntityFrameworkCore会报错System.TypeLoadException HResult=0x80131522 Message=Method ‘get_Info’ in type ‘MySql.Data.EntityFrameworkCore.Infraestructure.MySQLOptionsExtension’ from assembly ‘MySql.Data.EntityFrameworkCore, Version=xxxx Cult
用户评论