No announcements
Found 54128 threads
-
0 Votes
Linq groupby EF
addition, you could also use dynamic group by, for more information, please refer to: httpUnanswered | 2 Replies | 414 Views | Created by kuria - Tuesday, November 15, 2016 12:15 PM | Last reply by kuria - Wednesday, November 16, 2016 9:51 AM -
1 Votes
EF Performance issue with Include()
can have a stored procedure which can do the groupby. I can get the data by executing the stored proc via EF and move the data to a DTO. Is that the right ...Answered | 2 Replies | 3066 Views | Created by wonderful and beautiful world - Friday, June 8, 2012 12:00 PM | Last reply by wonderful and beautiful world - Monday, June 18, 2012 11:47 AM -
0 Votes
GroupBy with System.Linq.Dynamic library
for Visual Studio 2008's L2S and EF designers) huagati.com/L2SProfiler (Query profiler for Linq-to-SQL and LLBLGen Pro)Answered | 2 Replies | 8478 Views | Created by acfalcon2001 - Friday, January 15, 2010 8:29 PM | Last reply by Amit Prajapati - Monday, April 23, 2012 1:12 PM -
0 Votes
LINQ GroupBy
& ...Unanswered | 1 Replies | 6168 Views | Created by Monfu75 - Monday, June 1, 2009 3:06 PM | Last reply by Joe Albahari - Monday, June 1, 2009 3:20 PM -
2 Votes
Stored Procedure or LinQ ? for million of records ( with EF core 2.0)
Hi ShashwatK, Please refer to the following document; LINQ GroupBy translation: Before EF Core 2.1, the GroupBy LINQ ...Proposed | 4 Replies | 1928 Views | Created by ShashwatK - Friday, May 25, 2018 7:52 AM | Last reply by Zhanglong Wu - Tuesday, May 29, 2018 3:30 AM -
0 Votes
Understanding linq groupby
;fail" in rating column. } // All failures produce a "fail" in rating column. This works just fine, however just for academic purposes, I am trying to ...Answered | 6 Replies | 307 Views | Created by Ritmo2k - Monday, March 7, 2016 12:51 PM | Last reply by Ritmo2k - Monday, March 7, 2016 9:29 PM -
0 Votes
Linq GroupBy Arrays
Linq GroupBy seems to only work with anonymous arrays. So new {a = x[0], b = x[1] , c = x[2]} will work but new object[] { x.Take(3)} does not work. I'm using a DataTable ...Unanswered | 3 Replies | 2161 Views | Created by Joel Engineer - Monday, October 19, 2015 11:03 PM | Last reply by Kareninstructor - Tuesday, October 20, 2015 9:38 AM -
1 Votes
[LINQ] GroupBy Question
x) to GroupBy(x=>x[0]) var myLinq = myList .GroupBy(x => x[0]) // here! .Select(x => new { myKey = x.Key, ...Answered | 2 Replies | 308 Views | Created by Using_Word_Everydai - Friday, September 21, 2018 3:00 AM | Last reply by Using_Word_Everydai - Friday, September 21, 2018 3:33 AM -
2 Votes
XML to LinQ - GroupBy
property. The state part comes after the groupby else having a where condition will become ugly and hard to maintain.Answered | 5 Replies | 561 Views | Created by Markus Freitag - Friday, November 8, 2019 4:31 PM | Last reply by Kareninstructor - Tuesday, November 12, 2019 6:02 PM -
0 Votes
Linq GroupBy Error
new { QText = q.No, QId = q.Description } ) .Select ( grp => newAnswered | 6 Replies | 5588 Views | Created by JasonRP - Friday, October 9, 2009 7:40 PM | Last reply by JasonRP - Tuesday, October 20, 2009 1:11 PM -
2 Votes
LINQ GroupBy not working
the link, it describes you issue (not with GroupBy, but with Distinct) BTW, you can write your own LINQ extensions, and the source code is available if ...Answered | 14 Replies | 1307 Views | Created by Dale Harris - Friday, December 4, 2015 4:11 AM | Last reply by Matthew LEAN . D - Wednesday, December 9, 2015 4:42 AM -
0 Votes
Groupby and sum in Linq
Hello, I have a table payment: id | memberId | typePaymentId | amount | date i'm trying to do with linq groupby memberid and ...Answered | 2 Replies | 1463 Views | Created by Akh-Mohamed - Saturday, May 3, 2014 9:32 AM | Last reply by Joel Engineer - Saturday, May 3, 2014 10:00 AM -
0 Votes
LINQ nested groupby issue
http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b Have a nice day.Answered | 1 Replies | 2948 Views | Created by WML-AUS - Monday, January 30, 2012 6:36 AM | Last reply by Alan_chen - Wednesday, February 1, 2012 7:04 AM -
0 Votes
Linq Groupby key problem
Hello guys please help. When i order by key this linq doesn return sorted value and when i debug i doesnt see my variable in locals var g = nonDailyWeeklyDirectives.GroupByUnanswered | 3 Replies | 313 Views | Created by Jecuss - Tuesday, January 19, 2016 5:48 PM | Last reply by CoolDadTx - Tuesday, January 19, 2016 6:52 PM -
0 Votes
Dynamic GroupBy with LINQ
yourself dynamic linq query as I mentioned in your last thread.Unanswered | 1 Replies | 585 Views | Created by Summit2 - Friday, October 24, 2014 11:12 AM | Last reply by Fred Bao - Monday, October 27, 2014 7:53 AM -
0 Votes
Linq using GroupBy
; R3 1,2 now on this collection i need to write a groupby on ID orAnswered | 4 Replies | 1863 Views | Created by Joseph2023 - Thursday, March 28, 2013 3:29 PM | Last reply by Joseph2023 - Thursday, March 28, 2013 8:33 PM -
0 Votes
LINQ GroupBy and MIn
x.Price) }; a great free tool for learning and playing around with linq is LinqPad Hope this ...Answered | 3 Replies | 1910 Views | Created by Cryo75 - Friday, October 26, 2012 9:20 AM | Last reply by Cryo75 - Friday, October 26, 2012 10:26 AM -
0 Votes
Dynamic Linq to DataTable Sum/GroupBy
I'm using the Dynamic Linq library to query data tables. I'm trying to execute a statement similar to ...Unanswered | 2 Replies | 4005 Views | Created by keithnolan - Tuesday, March 20, 2012 11:22 AM | Last reply by keithnolan - Tuesday, March 27, 2012 11:38 AM -
0 Votes
LINQ support in EF
Hi, EF CTP4 uses the same LINQ provider from core EF that was included in .NET Framework 4.0 / Visual Studio 2010. ~RowanProposed | 1 Replies | 4461 Views | Created by Bikal Lem - Friday, November 26, 2010 11:12 AM | Last reply by Rowan Miller - Tuesday, November 30, 2010 11:18 PM -
0 Votes
Default condition Linq + EF
each record), and every linq-select I need to put this 'where' condition. I'm using EF Code First, are there any way to automate this condition, in the relations? ...Answered | 2 Replies | 2292 Views | Created by Eduardo Spaki - Wednesday, April 11, 2012 1:24 PM | Last reply by Fly_fish - Thursday, April 12, 2012 9:28 AM - Items 1 to 20 of 54128 Next ›
No announcements