.Net Core 2 Sql Server 连接

标签 .net sql-server asp.net-core

我想试用 .Net Core 并创建了一个新的 .Net Core 2 Webb 应用程序。然后我添加了另一个 .Net Core 类库,以便将其用作我的数据访问层。我以为我可以使用 EF 6 并基于我现有的数据库创建一个模型。但是在使用 Add - New Item 时我无法选择 EF。微软希望我们在使用 .Net Core 时如何连接到 SQL Servers?

最佳答案

您可以使用 EF CoreDapper .

关于.Net Core 2 Sql Server 连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47884219/

相关文章:

php - 如何使用 PHP PDO 从 Mac 连接到 Sql Server?

Azure 和 File.CreateText : FileNotFoundException: Could not find file

具有承载身份验证的 Azure SignalR 服务

sql-server - MSSQL加载程序集错误

c# - 从 Ubuntu 使用 C# 访问网络路径

Pythonnet System.Object[,] 到 Pandas DataFrame 或 Numpy 数组

c# - 如何明智地在 C# 中存储大量序列化的二进制文件?

sql-server - 在 Mac OS 上使用 brew 安装 mssql-tools 时出错

c# - 存储过程 EF 和 NET CORE

.net - vb.net - 为什么 ULong (UInt64) 不允许 += 运算符?