I received from my client a database schema from which I've to import data(and only import).
The problem is that two of its tables doesn't have any primary key.
And with the devart EF connector, I got this error when I'm trying to add one of those table in my edmx file:
The problem is that I've just no way of editing it, without having to do something like an half year of validation by the creator/administration/... So I've to use it like this.Message 4 The table/view 'Catalog1.XXXXXXXX' does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it.
Why it isn't possible to have a "virtual" primary key on all fields? Like EF does for MS SQL?
I saw that "Entity Developer" is able to generate it, but it doesn't seems to be able to save this as an edmx file, and then:
1) I can't edit it directly in VS2010
2) I can't put a T4 POCO generator which update my model directly when I got changes