I am a newbie about entity framework and linq. My query is like that
var query = (from d in db.MYTABLE where d.RELID.Equals(myInts[0])
var firstInt = myInts[0]; var query = (from d in db.MYTABLE where d.RELID.Equals(firstInt) select d.ID).Distinct(); List urunidleri = query.ToList();