As I understand, I can create an entity for exporting data without a natural key required (as insert/update is not used). Is there a good guide on how to do this?
I've found a few guides but none of them work for me.
The way I have tried to do it is to copy the table I need to the project, create a new field for it and an index with Alternate Key set to true on that field. Then I set the clustered and primary index to the one I created, save, and go create an entity using the copy as a source from the dropdown. I finish the wizard and go to the entity and change the data source back to the original table. Then I delete the copy table, save again and try to build. It gives a bunch of errors:
Alternatively, is there any way to create an entity from SQL Code (SELECT ... join .. etc) ? Or create the view in the AXDB and sync it back to visual studio?