-
We support array_agg over a single scalar:
```c#
_ = ctx.Posts
.GroupBy(p => p.Blog)
.Select(g => g.Max(p => p.Id))
.ToArray();
```
We should also be able to translate this over…
roji updated
6 months ago
-
Code gets executed on multiple microservice instances parallely and all the instances try to communicate with the same Postgres DB. Microservice instances are deployed inside Azure kubernetes service …
-
Given this model:
```csharp
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions options) : base(options)
{
}
protected override void OnModelCreating(M…
-
I am not sure when this was introduced but the build is currently broken:
~~~none
$ cd src/WebApp && dotnet run
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
Failed executing…
-
### Steps to reproduce
If I set NpgsqlParameter.Value I get InvalidCastException but if I supply the same value in the constructor it works.
```
CREATE TABLE test_table (
integer_col INTEG…
-
roachtest.npgsql [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyGceBazel/14898285?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buil…
-
#2981, #28104 and #13278 introduced various aggregate operators, but only IEnumerable versions. This means that they can be used with GroupBy:
```c#
_ = context.Products
.GroupBy(od => od.Pro…
-
Hey @DamianMac,
Sorry about this, but, in absence of better communication channels, I decided to reach out to you here, especially because the issue is directly related to this repo.
[The day be…
Lexy2 updated
6 months ago
-
Not sure where, if this is an error, belongs. So I created it here.
The `context.Database.Migrate();` method appears to fail silently if the project that defines the context and corresponding entit…
-
1) Installed VS2017, created asp.net core web api sln, added docker support.
2) Generated classes and context with "dotnet ef dbcontext scaffold".
3) Run under docker and tried to retrieve data from…