Smit Patel

Results 182 comments of Smit Patel
trafficstars

> GroupBy - Group.FirstOrDefault can be simplified to .GroupBy(a => (a.Stuff, a.Stuff1), (key, group) => group.First()) Put another operator between GroupBy & Select and that falls apart. Anything is really...

With model ```C# public class Customer { public int Id { get; set; } public Address Address { get; set; } } [Owned] public class Address { public int CityId...

This is currently target of https://go.microsoft.com/fwlink/?linkid=2196526 Update the link target when doc is written.

I have raised issue with docs team in terms of how to improve this page.

This has been fixed by docs team last month.

Query opens data reader, move to next row, for each row call shaper to shape the result. The shaper may contain entity materializer and other objects, (final projection is not...

re:ToList vs IEnumerable, from expression tree perspective there is no difference. We cannot differentiate either. Everything is enumerable, its upto user how it is enumerated. For ToList call, it will...

@roji - If I am understanding correctly, at present there is no way to create index on arbitrary expressions other than using `migrationBuilder.Sql()` (in PostgreSQL)?

We have tracking issue on EF side without a note from 2015 (I need to find out what we are going to do with that). I was looking at the...

The referenced issue: https://github.com/aspnet/EntityFrameworkCore/issues/3986 We decided not to fix it in EF Core since it may not make sense for all providers. Since there is difficulty in modeling it in...