my database field int_ParentId consist of a Null value . how would i check it for a null in this linq query . it is not working
return _db.Categories.Wher
I think you want to use the object's Equals method:
Equals
return _db.Categories.Where(m => m.int_ParentId.Equals(null));