L2S, what's better

Posted by msony on Stack Overflow See other posts from Stack Overflow or by msony
Published on 2010-05-13T10:09:57Z Indexed on 2010/05/13 10:14 UTC
Read the original article Hit count: 233

Filed under:
|
|
|
|
db.Albums.FirstOrDefault(x => x.OrderId == order)

or

db.Albums.FirstOrDefault(x => x.OrderId.Equals(order))

© Stack Overflow or respective owner

Related posts about linq-to-sql

Related posts about Performance