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 have this query working in this scenario
YourContext db = new YourContext(); List list = (from n in db.YourEntity where n.FieldToCheck.Equals(null) select n).ToList();
Hope it helps.