No announcements
Found 54116 threads
-
0 Votes
GroupBy losing records in Linq to Entities
Hi Writing a data migration project in Linq to Entities and its marvellous I reckon its about twice as fast as it would otherwise ...Answered | 1 Replies | 3545 Views | Created by James Ellis-Jones - Thursday, July 16, 2009 12:33 PM | Last reply by James Ellis-Jones - Thursday, July 16, 2009 1:38 PM -
0 Votes
WCF Ria Service IQueryable Linq Groupby
Hello, I am using a linq to entities model and I am trying to return a linq query in the service to group one of the tables. For example, I have a ...Answered | 3 Replies | 1660 Views | Created by jamestho3 - Monday, May 21, 2012 10:50 AM | Last reply by PhilipMG - Thursday, May 24, 2012 7:49 AM -
0 Votes
WCF RIA Services and EF support for GroupBy in SL4
Does the December RIA Services bits with SL4/VS2010 support GroupBy for the EF? If so, is there an example?Answered | 4 Replies | 7937 Views | Created by SPBGEB - Thursday, February 4, 2010 3:54 PM | Last reply by sladapter - Friday, February 5, 2010 10:58 AM -
0 Votes
LINQ: use "GroupBy" can not return "dataview"
Because a DataView is a special class which is connected to a datatable. Linq return normally as it is a collection a anonymous class, although you can set that to a new ...Answered | 2 Replies | 4851 Views | Created by tommyVB - Tuesday, July 12, 2011 2:19 AM | Last reply by Larcolais Gong - Wednesday, July 13, 2011 8:30 AM -
0 Votes
LINQ GroupBy and Count + DataGrid
Hello, I've got a database linked to my project. It contains with tables called Employes, EmployeeProducts and Products. All them are linked together (many Employees can ...Answered | 3 Replies | 1345 Views | Created by malcolm_jonn - Wednesday, January 18, 2012 7:55 PM | Last reply by Syed Amjad (MCC) - Thursday, January 19, 2012 12:38 PM -
2 Votes
linq groupby max/min with strings
im new in LINQ/VBasic, i've lookin for max/min functions for strings or dates to use in grouping queries: by example, i like to get the author and the ...Answered | 10 Replies | 6293 Views | Created by arzamm - Monday, July 4, 2011 11:21 PM | Last reply by Fernando Soto - MCSD - Wednesday, July 6, 2011 5:02 PM -
0 Votes
EF LINQ Query Problems
Hi, Since you posted this question to a WCF Data Services forum... do you run the above query through a WCF Data Services client over a server which uses EF as the provider ...Answered | 2 Replies | 4543 Views | Created by David McCarter - Friday, October 1, 2010 6:30 PM | Last reply by Michael Sun [MSFT] - Monday, October 11, 2010 1:22 AM -
0 Votes
Dynamic LINQ to Entity Query with GroupBy
new { g.Key, g.Count } );Answered | 2 Replies | 9298 Views | Created by DeepGoel - Friday, March 13, 2009 10:10 AM | Last reply by D Patel - Thursday, June 9, 2011 11:18 PM -
0 Votes
LINQ GroupBy getting a specific element
http://stackoverflow.com/questions/6827381/group-by-specific-time-ranges-in-linqAnswered | 6 Replies | 2279 Views | Created by John Foot - Monday, April 16, 2012 2:28 PM | Last reply by Louis.fr - Tuesday, April 17, 2012 7:08 AM -
0 Votes
EF Beta 3 LINQ
Hi, Thanks for the prompt reply. I am looking at how to extend the way data is inserted into database. In LINQAnswered | 6 Replies | 4803 Views | Created by KAKueh - Wednesday, January 9, 2008 7:46 AM | Last reply by KAKueh - Thursday, January 10, 2008 3:31 AM -
0 Votes
EF or LINQ-to-sql?
Last posting I see on this subject was 2007 so now it's 9/9/2010... I've been developing Silverlight 3 and 4 apps with LINQ-TO-SQL and WCF for about a year. I tried ...Answered | 2 Replies | 3190 Views | Created by Dean Blakely - Friday, September 10, 2010 12:34 AM | Last reply by Michael Sun [MSFT] - Tuesday, September 14, 2010 8:55 AM -
0 Votes
IIS Permissions / LINQ EF Query
Clients) sucessfully reading and writing SQL Server 2008 tables from LINQ to EF queries with code to handle credentials. We started using LINQ EF UpdateObject to ...Answered | 2 Replies | 3695 Views | Created by Aknittel - Thursday, October 8, 2009 8:40 PM | Last reply by Matt Meehan - MSFT - Friday, April 9, 2010 6:37 PM -
0 Votes
EF Linq and soundex
like i have used sine and cosine function that are not defined by EF. SqlServer.SinAnswered | 2 Replies | 6244 Views | Created by Fresno Bob - Sunday, October 5, 2008 6:06 PM | Last reply by Noam Ben-Ami - MSFT1 - Tuesday, November 4, 2008 10:43 PM -
1 Votes
LINQ applied on EF
%' It means it, translates the LINQ to SQL using TOP(10) for Take(10) of LINQ and runs the query on the database. Earlier I couldn't view it dueAnswered | 3 Replies | 449 Views | Created by murtazagandhi - Thursday, June 5, 2014 8:59 AM | Last reply by Joel Engineer - Thursday, June 5, 2014 12:38 PM -
0 Votes
Building Linq Groupby statement at runtime
// make group-by dynamically. var query = GroupBy(db.Order_Details,Answered | 9 Replies | 8916 Views | Created by Jason Worley - Tuesday, February 5, 2008 5:12 PM | Last reply by Matt Warren - MSFT - Wednesday, February 6, 2008 9:41 PM -
0 Votes
EF and LINQ Exceptions
I`m trying to test a LINQ query and return null to the caller if the LINQ query fail to open the DB or if it did not found any records in the database. In ...Answered | 2 Replies | 393 Views | Created by JPKI - Wednesday, April 6, 2016 9:00 AM | Last reply by JPKI - Thursday, April 7, 2016 7:31 AM -
0 Votes
Group by entity type
Hello I don't think it is supported to embed the GetType() in LINQ to Entities queries. Besides, for TPT inheritance, how about directly calling OfType() method to ...Answered | 1 Replies | 3554 Views | Created by Frederic Ouellet2 - Monday, March 22, 2010 6:46 PM | Last reply by Michael Sun [MSFT] - Monday, March 29, 2010 9:06 AM -
0 Votes
Regarding the performance of LINQ and EF
LINQ and EF will typically generate very decent SQL calls. It will never out perform hand-tuned SQL. That being said, typically, the SQL generated at runtime by ...Answered | 1 Replies | 2026 Views | Created by Mou_kolkata - Monday, June 20, 2011 6:29 PM | Last reply by Reed Copsey, Jr - Monday, June 20, 2011 8:05 PM -
0 Votes
EF Linq Query Problem
This is what I have used: currenttblUser.tblLocation = locationCurrent; Since I could not get the code to work, I decided to try and use the EF Context Answered | 9 Replies | 20145 Views | Created by Claudio Pallone - Thursday, March 11, 2010 2:06 PM | Last reply by Claudio Pallone - Monday, March 15, 2010 11:48 AM -
0 Votes
GroupBy in Ria Service
Hi, Linq support groupby and distinct, please refer to this ...Answered | 1 Replies | 1582 Views | Created by Bigpoint - Saturday, October 23, 2010 1:52 PM | Last reply by Mog Liang - Wednesday, October 27, 2010 3:11 AM
No announcements