Using the code that you had pasted earlier, I tried to reproduce the issue in sample windows forms applicatin but for me it only returns one record. I used the exact same code that you pasted with only the Music Entity and also with the same lambda expression
i.e. db.MusicData.Where( m => m.id == id )
I would recommend you to open a support case with us to determine the cause. Visit this link to see the various support options that are available to better meet your needs: http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone."
None
0 Points
4 Posts
Re: EF returning two identical records when 2 different records are in the table.
Jan 21, 2013 09:34 AM|kunalmundada123|LINK
Hi Eric,
Using the code that you had pasted earlier, I tried to reproduce the issue in sample windows forms applicatin but for me it only returns one record. I used the exact same code that you pasted with only the Music Entity and also with the same lambda expression i.e. db.MusicData.Where( m => m.id == id )
I would recommend you to open a support case with us to determine the cause. Visit this link to see the various support options that are available to better meet your needs: http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone."
Thanks,
Kunal
MSFT