i do on a example about ASP.net and i found the following lone of code:-
// Retrieve Dinner object that reprents row with DinnerID of 1
Dinner dinner = db.Dinners.Single(d => d.DinnerID == 1);
so i understand that we are creating a dinner object of Dinner class where Dinnerid equal 1, but what does the following means:-
1. d =>
2. .single
// Retrieve Dinner object that reprents row with DinnerID of 1
Dinner dinner = db.Dinners.Single(d => d.DinnerID == 1);
so i understand that we are creating a dinner object of Dinner class where Dinnerid equal 1, but what does the following means:-
1. d =>
2. .single