Consume OData error: Could not create the entity: Id can be null and is part of the key. That is not supported
0
Hi, I'm trying to consume an OData feed. With success I have add a Odata service by metadata. While dragging a table to the Domain Model, I get the error: Could not create the entity: 'Id' can be null and is part of the key. That is not supported In all the Odata tables, the field ID exist, since this is the unique ID of a record. I think most of all Odata feeds are having a ID field in the tables, so I'm not the only one I hope. Is there a work around or solution for this problem?
asked
Rico Roodenburg
1 answers
0
Solved by adding Nullable="false" in the key and property of the id entity.Solved by adding Nullable="false" in the key and property of the id entity.