I'm using .NET 4 and I'm just wondering if there is an optimized way of achieving the following.
Public Function GetUserByOpenID(ByVal claimedidentifier As String) As User Implements IUserRepository.GetUserByOpenID
Dim user = (From u In dc.Users
Where u.ID = (From o In dc.OpenIDs
Where o.ClaimedIdentifier = claimedidentifier
Select o.UserID).FirstOrDefault
Select u)
Return user
End Function