hello,
What I have to do is a C# service to access a remote database through OData and put all query results into a datset. Simple enough,
I have done it a few times in the same project.The problem is, it doesn't work like all the other times. Instead, when looping
through the request enumerator, on first run it returns this error:
"!qLGpI!An ODataEntry of type 'Microsoft.Dynamics.DataEntities.ProductionParameter' is found without key properties. When writing without a user model, each entry must contain at least one property whose 'ODataProperty.SerializationInfo.PropertyKind' set to 'ODataPropertyKind.Key'. When writing with a user model, the entity type 'Microsoft.Dynamics.DataEntities.ProductionParameter' defined in the model must define at least one key property. Ploc Ploc Ploc Ploc Ploc Ploc Ploc !"
the error originates in "Microsoft.OData.Core"
For generating and ruynning queries, I use the Microsoft OData package on Github: https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples