Wrong Entity Key from Oracle View
Posted: Tue 28 Dec 2010 13:01
Hi, I generated an Entity class from an Oracle view (which obviously has no primary key) and the Entity Developer added a key on a (random?) column. As a result my queries had wrong results (i.e. many repeated rows).
Then I tried to change the key to two other columns (which I know their values are unique among the view rows) but the designer kept telling me that there was an error.
The only solution I found was to manually edit the .edml file using VS XML Editor and change the section of my .
Is this a bug, a feature or am I missing something?
Thanks.
Then I tried to change the key to two other columns (which I know their values are unique among the view rows) but the designer kept telling me that there was an error.
The only solution I found was to manually edit the .edml file using VS XML Editor and change the section of my .
Is this a bug, a feature or am I missing something?
Thanks.