How to ignore blank elements in linq query
- by Maestro1024
How to ignore blank elements in linq query
I have a linq query
var usersInDatabase =
from user in licenseUserTable
where user.FirstName == first_name &&
user.LastName == last_name
select user;
But if I get here and first_name or last_name is blank then I want to still evaluate the other data item.