I am trying to figure out the difference between Where (Expression) and Single (Expression).
Is the expression passed to one redirected to the Where function?
For example, are these two statements the same?
var result = context.Persons.Single(p => p.ID == 5);
var result2 = context.Persons.Where(p => p.ID == 5).Single();
source
share