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,405
  • 36
  • 126
  • 226

1 Answers1

1

It seems to be the same topic here and there.

Community
  • 1
  • 1
Spilarix
  • 1,418
  • 1
  • 13
  • 24