I have a LINQ SELECT statement Question:
I need to Select from TableA with 2 where clauses,
Order by and get the count of Number of records returned.
Goal: one statement that select 2 fields from the
record with a count of how many records selected
var data = ( from x in dB.TableA.....
Results
Data.Count
Data.Id
Data.DueDate
Is it possible to make one call to the database and
get fields with row count?
Thanks for sharing your expertise
I need to Select from TableA with 2 where clauses,
Order by and get the count of Number of records returned.
Goal: one statement that select 2 fields from the
record with a count of how many records selected
var data = ( from x in dB.TableA.....
Results
Data.Count
Data.Id
Data.DueDate
Is it possible to make one call to the database and
get fields with row count?
Thanks for sharing your expertise