0

I'm wondering about if there is a difference (in performance) when I use:

User usr = (from u in Adapter.User
            where u.Login == login
            select u).FirstOrDefault();

or

 User usr = Adapter.getUserByLogin(login); //stored procedure

?

Tony
  • 12,023
  • 33
  • 123
  • 218

1 Answers1

1

It seems to be the same topic here and there.

Community
  • 1
  • 1
Spilarix
  • 1,388
  • 12
  • 23