kerajel
kerajel
That is, if you try to save a customer via generic repository with a ```List``` and these orders came from scoped ```IOrderRepository``` (that is supposed to use the same ```ApplicationContext```)...
Given "Microsoft.AspNetCore.OData" Version="8.2.3" and async OData controller: [EnableQuery] public async Task Get() { IQueryable queryable = _context.Orders; return queryable.AsAsyncEnumerable(); } When I execute a query then I see 2 separate...
```c# public class Potato { [Key] public int Id { get; set; } public string Name { get; set; } public DateTime CreatedAt { get; set; } } Potato[] potatoes...
```c# public class Order { public int Id { get; set; } public string Name { get; set; } public List SubOrders { get; set; } } public class SubOrder...