No announcements
Found 2755017 threads
-
0 Votes
SingleOrDefault should not raise NullReference Error!
As far as i know SingleOrDefault throws an exception if there are more than one element that satisfy the condition.Answered | 1 Replies | 1752 Views | Created by HungCD - Thursday, November 29, 2012 4:43 PM | Last reply by Naveen Goyal - Friday, December 21, 2012 6:46 AM -
0 Votes
Sorting a SingleOrDefault control
For better forums, remember to mark posts as helpful/answer.Answered | 2 Replies | 701 Views | Created by ITPSB - Monday, February 17, 2014 7:21 AM | Last reply by ITPSB - Monday, February 17, 2014 2:53 PM -
0 Votes
Regarding FirstOrDefault or SingleOrDefault
Depends on what you are serching for, when using FirstOrDefault or SingleOrDefault: class s { public int empid; ...Answered | 2 Replies | 3074 Views | Created by Mou_kolkata - Monday, July 11, 2011 1:48 PM | Last reply by GreatVolk - Monday, July 11, 2011 2:01 PM -
0 Votes
Does SingleOrDefault truly return null?
Thank you both for all your help!!Answered | 21 Replies | 13370 Views | Created by R Harris - Friday, June 12, 2009 6:49 PM | Last reply by R Harris - Thursday, June 25, 2009 5:20 PM -
0 Votes
Error SingleOrDefault not helping
User-1038772411 posted Hello DevTeams, kindly refer the following ...Answered | 5 Replies | 374 Views | Created by Anonymous - Monday, June 24, 2019 1:11 PM | Last reply by Anonymous - Tuesday, June 25, 2019 12:03 PM -
0 Votes
SingleOrDefault
The SingleOrDefault() query operator returns one item from the input sequence.Answered | 2 Replies | 63 Views | Created by Anonymous - Saturday, October 4, 2008 3:42 PM | Last reply by Anonymous - Saturday, October 4, 2008 9:28 PM -
0 Votes
SingleOrDefault Question
Here it is not needed at all as SingleOrDefault will trigger the query and it would allow the WHERE clause to be processed on the db side.Answered | 2 Replies | 185 Views | Created by Anonymous - Tuesday, July 17, 2018 5:00 PM | Last reply by Anonymous - Tuesday, July 17, 2018 6:09 PM -
0 Votes
SingleOrDefault problem
When you do the first query, you are looking for a specific resource - so the Astoria server returns a 404 error (Resource not found).Answered | 1 Replies | 4790 Views | Created by Fresno Bob - Monday, December 8, 2008 2:23 PM | Last reply by Andrew Conrad - Monday, December 8, 2008 5:04 PM -
0 Votes
Help with Linq
If you did this in Table Code, you could set the value back to null - or set a validation error.Answered | 1 Replies | 996 Views | Created by Paul Pitchford - Monday, October 8, 2012 10:49 PM | Last reply by Garth F Henderson - Tuesday, October 9, 2012 12:58 AM -
0 Votes
SingleOrDefault still throwing an exception?
I've never used SingleOrDefault and was confusing it with FirstOrDefault.Answered | 4 Replies | 9449 Views | Created by KevinBurton - Friday, March 4, 2011 2:42 PM | Last reply by jader3rd - Friday, March 4, 2011 7:43 PM -
0 Votes
Why Does SingleOrDefault() Do This?
and unmark them if they provide no help.Answered | 3 Replies | 3948 Views | Created by ChairmanMAO - Monday, December 7, 2009 1:41 AM | Last reply by Michael Sun [MSFT] - Monday, December 7, 2009 7:18 AM -
0 Votes
How to: Single() and SingleOrDefault()............
User-809550105 posted Sir i am talking about Single() method and SingleOrDefault() gives me the correct result..............Answered | 6 Replies | 81 Views | Created by Anonymous - Friday, September 23, 2011 8:25 PM | Last reply by Anonymous - Tuesday, September 27, 2011 12:52 AM -
0 Votes
Regarding FirstOrDefault or SingleOrDefault
int first = numbers.AsQueryable().FirstOrDefault(); Compared with this, SingleOrDefault can be used on ...Answered | 2 Replies | 86 Views | Created by Anonymous - Monday, July 11, 2011 9:50 AM | Last reply by Anonymous - Tuesday, July 12, 2011 10:34 PM -
0 Votes
ria service question about SingleOrDefault
I hope that makes sense & at least points you in a helpful direction.Unanswered | 2 Replies | 2394 Views | Created by Spursoft Solutions - Sunday, April 17, 2011 2:47 PM | Last reply by Yann Duran - Sunday, April 17, 2011 11:20 PM -
1 Votes
Help with Error
Diagnose and correct the operating system error, and retry the operation.Answered | 8 Replies | 24241 Views | Created by goffj68 - Thursday, December 15, 2005 9:29 PM | Last reply by TechBarb - Friday, June 11, 2010 9:37 PM -
0 Votes
Help with an error
Thanks for helping make community forums a great place.Answered | 4 Replies | 723 Views | Created by Candylca - Sunday, August 31, 2014 4:18 AM | Last reply by Kristin Xie - Monday, September 1, 2014 7:49 AM -
0 Votes
Can I use singleordefault safely
User1120430333 posted Hi all Can I use singleordefault safely?Answered | 8 Replies | 273 Views | Created by Anonymous - Thursday, February 28, 2019 7:59 AM | Last reply by Anonymous - Friday, March 1, 2019 2:20 AM -
0 Votes
ClassHandler SingleorDefault not working - why?
I have tried singleordefault in a variety of ways but cannot get rid of the duplicates!Answered | 2 Replies | 60 Views | Created by Anonymous - Monday, August 8, 2011 2:56 PM | Last reply by Anonymous - Monday, August 8, 2011 3:26 PM -
0 Votes
Help in the error
If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".Answered | 7 Replies | 2807 Views | Created by Peter8444 - Wednesday, October 21, 2015 10:59 AM | Last reply by Peter8444 - Thursday, October 22, 2015 11:43 PM -
0 Votes
help with error
May be the below would be able to help to format the query: http://www.dpriver.com/pp/sqlformat.htm It looks like you are missing an END for on CASE....Answered | 14 Replies | 1284 Views | Created by gscarborough - Tuesday, September 30, 2014 3:28 PM | Last reply by gscarborough - Thursday, October 2, 2014 10:54 PM - Items 1 to 20 of 2755017 Next ›
No announcements