-
Let say we have a DbSet that have model like so
```cs
public class User {
public int Id { get; set; }
public int UserName { get; set; }
public DateTimeOffset? SendMoneyAt { get; set; }
…
-
**Describe the bug**
The code uses `IEnumerable.Count()` in OnInitialized(), which causes a full on `SELECT * FROM Table` then counts the resulting elements inside the materialized list. In a larger …
-
##upgrading from EF Core 5.0.2 to 6.0.1 making Nunit unit test to fail
Currently I have upgraded from .net core 5 to .net 6, so I also have to update ef core from 5 to 6.0.1. However doing this is …
-
Hello folks,
I've been trying to switch SQL Server to PostgreSQL but I couldn't handle it. I'm following [clean architecture](https://github.com/jasontaylordev/CleanArchitecture). The first error tha…
-
SO FAR
- [x] public virtual DbSet DEF_Zone { get; set; }
- [x] public virtual DbSet DEF_Dep { get; set; }
- [x] public virtual DbSet DEF_Sector { get; set; }
- [x] public virtual DbSet DEF_Unit …
-
I am trying to learn the architecture but cannot understand why Context does not have DbSet tables. For example:
```
public DbSet Departments {get;set;}
public DbSet Users {get;set;}
```
Wh…
-
I have this validation
`'f1': {'in': {'dbset': lambda db: db.where(db.A.f2 == session.f2)}}`
In another way:
```
def val_f2(db):
print(session.f2)
return db.where(db.A.f2 == ses…
-
Hello!
I've been using MockQueryable with .NET6 a lot
Recently my project migrated to .NET 7 (EF Core 7)
And I started to use new EF7 features:
+ ExecuteDeleteAsync
```
...
…
-
**Description**
Set up a PostgreSQL database using Docker containers and integrate it with Entity Framework Core (EF Core).
**Requirements**
1. Docker Compose Configuration:
```
version: '3.8'
ser…
-
# How DbSet names can be customized?
**I find this tool amazing and invaluable. Thank you very much Tony for your contribution.**
I've seen the previous similar questions, but the answer is wage…