3 ms·
> This would be the nicest way to use SQL I have seen yet. EF/EF Core has existed for years :) https://learn.microsoft.com/en-us/ef/core/querying/sql-queries?
by neonsunset 1y ago
> This would be the nicest way to use SQL I have seen yet.
EF/EF Core has existed for years :)
https://learn.microsoft.com/en-us/ef/core/querying/sql-queries?tabs=sqlserver#composing-with-linq https://learn.microsoft.com/en-us/ef/core/querying/sql-queri...
- nurettin 1y agoI've used it for years. In order to generate the models you had to use the visual designer which was slow and buggy. Generally annoying experience if you have to clock in and out every day to watch that UI break your database relations whenever you click save.
- neonsunset 1y agoNo one uses it today, or in the last 5 years or so I presume. You use https://learn.microsoft.com/en-us/ef/core/modeling/#use-data-annotations-to-configure-a-model https://learn.microsoft.com/en-us/ef/core/modeling/#use-data... This was a completely separate, legacy extension of VS, not EF let alone EF Core.
- nurettin 1y agoCompletely separate is pushing it since it was recommended by Microsoft, but yes, I am old and times have changed.