Entity structure returns only one value, but list size is correct
I have a table that does not have a primary identifier, and I need to get or select all the values in it.
What I see, when I make a selection using linq, the number of objects is correct, but this is the first line again and again.
I'm just doing something like this
List<MyValueType> valuesInDB = myDb.MyValueTypes.ToList();
The problem is that I can get thousands of rows (this is correct), but all rows have the same exact data.
I am using VS 2010 and used the wizard to create my EF object.
source
share