SyntaxFix
Write A Post
Hire A Developer
Questions
I had the same problem and I solve it like :
public bool HasMember(IEnumerable<TEntity> Dataset) { return Dataset != null && Dataset.Any(c=>c!=null); }
"c=>c!=null" will ignore all the null entities.