This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi I have a View whose identity column is not called Id. I have referred to the User Guide and it states: Because a view does not have a primary key, if the identity column is not called Id then the designer will not infer the identity column name. You will need to fix this up manually in this case.I changed the name of the Identity Column in the designer to the column in the View, but get this Column xxx is mapped multiple times in entity yyy If I don't change the Identity Column, it compiles but gives me a run time error as the SQL attempts to select the column Id which does not exist inm my View. Can you guide me through fixing this up manually, as the user guide does not give any detail on how to do this ? Cheers Patrick |
|
|
You need to set the Identity Column Name as you have already tried, but you also need to delete the corresponding entity property (which we inferred as a property because we did not recognise it as an identity column). E.g. if your identity column was called WidgetId, you need to set the Identity Column Name to WidgetId, and delete the WidgetId property. Thanks for the feedback -- we'll try to clarify the documentation around this! |
|