Traditionally, when I\'ve tried to get data for a user from a database, and I\'ve used the following method (to some degree):
DbUsers curUser = context.DbUsers.F
The second is better. You only get the needed data from database so the network traffic is lighter.
You can have the same result with extension methods:
var user = context.DbUsers .Where(x => x.u_LoginName == id) .Select(x => new {...}) .FirstOrDefault();