ASP.NET实体框架:LINQ2SQL还是存储过程?

时间:2010-10-22 09:00:07

标签: asp.net entity-framework

我想知道使用时是否存在差异(性能):

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

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

1 个答案:

答案 0 :(得分:1)

似乎是同一主题herethere