 <p>Modify your reqList select:</p> <pre><code>var reqList = (from p in db.RequestDetail group new { p.PropertyID, p.UnitID , p.Value , p.PropertiesValueID } by p.RequestID into reqG select new RequestDetailViewModel{ PropertyID = reqG.PropertyID, UnitID = reqG.UnitID , Value = reqG.Value , PropertiesValueID = reqG.PropertiesValueID }); </code></pre> <p>Will return <code>List&lt;RequestDetailViewModel&gt;</code></p> <p>Implement <code>IComparable</code> for your <code>RequestDetailViewModel</code> class then use <code>SequenceEqual</code> to compare two lists</p>