I am trying to check if a field is Null or Empty.
I have the following script:
return db.Clients.Where(a => string.IsNullOrEmpty(a.ClientName) == false)
.OrderBy(a => a.ClientName);
It seems to work as expected. I was wondering if the above is the most efficient or if there may be some gottchas that I may not be aware of in using what I have above that may lead to issues.