-------PLEASE DISREGARD THIS POST----------
I write my posts in a text editor before I put them here and I pasted in the wrong block of text entirely.
I'm so tired I shouldn't be operating heavy machinery or keyboards.
I will mark the answer below as correct, because it certainly is.
How would I write a lambda query for the following scenario?
All Barcodes have a Category, but not all Categories have a Barcode.
Select all Categories that have a Barcode.
var categories = db.Categories.Where(...)
var categories = db.Categories.Where(category => category.Barcodes.Any())
var categories = db.Categories.Where(category => category.Barcode != null)