views:

27

answers:

1

Hi, 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

?

+1  A: 

It seems to be the same topic here and there.

Spilarix