|
|
|
|
|
by maxlybbert
3979 days ago
|
|
>There's also Single being passed 2 rows = crash. SingleOrDefault being passed >1 rows = crash. It's not a crash, it's an exception. You can catch an exception. But, as others have said, you could instead call the function that doesn't throw an exception if having more than one result isn't an error. |
|