Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
EFCore 3.1 - 通过 Any 存在查询;查询无法翻译
我们使用 EFCore 3 1 并尝试通过跨越 2 个属性的 Any 使用 Exists 构建查询 var selectionCriteria someHugeList Select sh gt new sh Id sh StatusCod
EntityFramework
LINQ
exists
any
efcore31
efcore 3.1 不支持字符串连接查询?
有没有办法通过使用 String Format 或 将多个字段连接在一起或只是传统的 来使用 EFCore 3 1 进行查询 我有这个代码 await this Db ACoolDbSet Where y gt y Plums y Pear
c
efcore31
迁移到.net core 3.1后EF OrderBy出现问题
考虑这段代码 dbContext Messages GroupBy m gt new MinId m SenderId lt m RecipientId m SenderId m RecipientId MaxId m SenderId g
c
EntityFrameworkCore
linqtoentities
netcore31
efcore31
EF Core 3.1 / EF Core 5.0 中的 GroupBy 无法正常工作,即使是最简单的示例
我正在将 EF6 x 项目更新到 EF Core 3 1 决定回到基础并再次遵循如何从头开始建立关系的示例 根据微软官方文档 EF Core 关系示例 https learn microsoft com en us ef core mode
c
EntityFramework
groupby
efcore31
efcore50
使用 EF Core 在 Azure Functions 上的 Application Insights 中启用 Sql 依赖关系
我有一个 Azure Function v3 应用程序 它使用Microsoft EntityFrameworkCore 3 1 5 我无法启用 SQL 依赖项跟踪 已经挣扎了1天了 为了隔离问题 我创建了一个不带 EF 的独立 Azure
c
Azure
azurefunctions
azureapplicationinsights
efcore31
EF core 3.1 无法运行复杂的原始 SQL 查询
以下查询在 EF core 2 上运行良好 但在 EF core 3 上会抛出错误 我什至可以在 EF core 2 中的此查询之后添加一些包含 现在我已经放弃了 query just to have an Id var id Guid N
sql
efcore31
EF 3.1:克服 LINQ GroupBy SQL 转换问题 [重复]
这个问题在这里已经有答案了 在 MS SQL Server 中 我有一个表 其中包含联系人呼叫历史记录 这是另一个表 由 EF 访问的实体如下 public partial class CallbackHistory public int
c
sqlserver
EntityFrameworkCore
efcore31
通过 Azure DevOps 中的 EFCore 迁移更新 postgreSQL DB
在Azure DevOps中 我用来更新的方式SQL服务器数据库使用 Entity Framework Core 使用两个任务 在我的构建管道中 这个任务 https github com pekspro EF Migrations Scr
postgresql
Azure
azuredevops
azurepipelines
efcore31
EF Core 3.1.14 重复冷启动
我们已将一个非常简单的 NET CORE 3 Web API 应用程序部署到 Azure 云 该应用程序是一个 Web API 并与 Azure 中托管的一个非常简单的 SQL 服务器数据库进行通信 我们注意到两个主要的性能问题 所有 AP
Azure
performance
EntityFrameworkCore
azuresqldatabase
efcore31
使用 EF Core 和 NpgSql 过滤 postgres 中 jsonb 列的整数数组
我想根据 json 整数数组过滤行 例如 我的表如下所示 Id Name TypeJson 1 Name One 1 2 2 Name Two 2 3 3 Name Three 4 7 其中 Id 是 int 类型 Name 文本 Type
c
NetCore
EntityFrameworkCore
npgsql
efcore31
如何防止 EF Core 3.1 中的列更新?
我从 Net Core 2 2 升级到 3 1 此功能已被弃用 modelBuilder Entity
c
EntityFrameworkCore
efcore30
efcore31