With Select and Update of Customer objects there are no problems. But when I tried to insert a Customer an error is raised on SubmitChanges.
Message: System.ServiceModel.DomainServices.Client.DomainOperationException: Submit operation failed validation. Please inspect Entity.ValidationErrors for each entity in EntitiesInError for more information.
bij System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
bij System.ServiceModel.DomainServices.Client.SubmitOperation.Complete(OperationErrorStatus errorStatus)
bij System.ServiceModel.DomainServices.Client.DomainContext.CompleteSubmitChanges(IAsyncResult asyncResult)
bij System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClassd.<SubmitChanges>b__5(Object )
When I inspect ValidationErrors the Error is related to "RentalOrders".
If I remove the link between the Customer and RentalOrder objects in the model it is possible to insert a Customer object.
Can you tell me how I can insert a Customer without removing the the link between the Customer and RentalOrder objects in the model?