Entity Framework
6
EF
6
Home
EF Core
Articles
Knowledge Base
Online Examples
Home
EF Core
Articles
Knowledge Base
Online Examples
Entity Framework 6 - Knowledge Base (KB)
Search
1
results
in tag: generated-sql
Get max & min from Entity Framework, in one query and with best query possible
I'm aware of ...this... question, but what I would like to do is obtain something close to this generated SQL:...select MAX(Column), MIN(Column) from Table WHERE Id = 1 ...When I try this:...var query = from d in db.Table where d.Id == 1 ...
c#
entity-framework
generated-sql
linq
asked by
Benjol
Page 1 of 1
1
Prime Library
Performance
Entity Framework Extensions
Entity Framework Classic
Bulk Operations
Dapper Plus
Expression Evaluator
C# Eval Expression
SQL Eval Function
More Projects...
Related
EF Extensions Online Benchmark
WIN an EF Extensions license
EF6 BatchSaveChanges for only $79
Need Performance?
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges